循环开始后触发。
原型
do_action_ref_array( 'loop_start', WP_Query $this )
参数
$this
(WP_Query)
WP_Query实例(通过引用传递)。
源文件
路径:wp-includes/class-wp-query.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/loop_start/
循环开始后触发。
do_action_ref_array( 'loop_start', WP_Query $this )
$this
(WP_Query)
WP_Query实例(通过引用传递)。
路径:wp-includes/class-wp-query.php
英文文档:https://developer.wordpress.org/reference/hooks/loop_start/
请在后台设置小工具!