Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress Access-Control-Allow-Origin


function add_cors_http_header(){
    header("Access-Control-Allow-Origin: *");
}
add_action('init','add_cors_http_header');

Comment

PREVIOUS NEXT
Code Example
Php :: how to install bootstrap in laravel 8 
Php :: illuminate database queryexception could not find driver laravel 9 
Php :: composer update without dependencies 
Php :: php connect to postgresql 
Php :: +1 month php 
Php :: laravel run migration 
Php :: Sorry, This File Type Is Not Permitted for Security Reasons 
Php :: wordpress custom theme style.css 
Php :: how to remove first element in array php 
Php :: how to get previous page name in php 
Php :: how to redirect with php 
Php :: php set timezone italy 
Php :: compare hashed password and a text password in laravel 
Php :: php round down 
Php :: npm watch laravel 
Php :: undo php artisan optimize 
Php :: year shortcode wordpress 
Php :: php check if non-object 
Php :: laravel storage folder permissions 
Php :: lravel redirect with error 
Php :: find type in php 
Php :: wp get user meta 
Php :: php convert array to object 
Php :: laravel make migration controller resource mcr 
Php :: get the current page id in wordpress 
Php :: wordpress check if current page is front page 
Php :: livewire pagination bootstrap 
Php :: laravel delete confirm link 
Php :: php round all values in array 
Php :: how to split url in php 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =