loop_start action-hook . WP 2.0.0
Fires once the loop is started.
Usage
add_action( 'loop_start', 'action_function_name_4016' ); function action_function_name_4016( $this ){ // action... }
- $this(WP_Query)
- The WP_Query instance (passed by reference).
Changelog
Since 2.0.0 | Introduced. |
Where the hook is called
loop_start
wp-includes/class-wp-query.php 3310
do_action_ref_array( 'loop_start', array( &$this ) );