我有以下代码:
function register_scripts(){
wp_register_style( 'new_style', plugins_url('/css/style.css', __FILE__));
wp_register_script( 'google-maps-api', 'http://maps.google.com/maps/api/js?sensor=false' );
}
add_action('wp_enqueue_scripts', 'register_scripts');
Run Code Online (Sandbox Code Playgroud)
但它没有用,有谁能看到我做错了什么?