触发wp_head动作。
原型
wp_head()
描述
请参阅’wp_head’。
源文件
路径:wp-includes/general-template.php
<?php
...
function wp_head() {
/**
* Prints scripts or data in the head tag on the front end.
*
* @since 1.5.0
*/
do_action( 'wp_head' );
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/wp_head/