📅  最后修改于: 2022-03-11 14:57:58.399000             🧑  作者: Mango
function add_cors_http_header(){
header("Access-Control-Allow-Origin: *");
}
add_action('init','add_cors_http_header');