Answers for "wordpress allow cross domain"

0

wordpress allow cross domain

function add_cors_http_header(){
    header("Access-Control-Allow-Origin: *");
}
add_action('init','add_cors_http_header');
Posted by: Guest on February-18-2021

Browse Popular Code Answers by Language