你可以create a custom action hook 进入header.php
文件然后你可以用这个动作钩代替wp_head
在插件中。
Here\'s how you can create a custom action hook into wordpress.
<?php do_action(\'wpse65597_do_meta\'); ?>
This is how you can hook your function into that action-hook -
add_action(\'wpse65597_do_meta\',\'YOUR_FUNCTION_NAME\');
function YOUR_FUNCTION_NAME(){
// echo meta tags here
}