loop_start action-hookWP 2.0.0

Fires once the loop is started.

Usage

add_action( 'loop_start', 'wp_kama_loop_start_action' );
function wp_kama_loop_start_action( $query ){
	// action...
}
$query(WP_Query)
The WP_Query instance (passed by reference).

Changelog

Since 2.0.0 Introduced.

Where the hook is called

WP_Query::the_post()
loop_start
wp-includes/class-wp-query.php 3403
do_action_ref_array( 'loop_start', array( &$this ) );

Where the hook is used in WordPress

Usage not found.