W3cubDocs

/WordPress

do_action_ref_array( ‘loop_start’, WP_Query $query )

Fires once the loop is started.

Parameters

$queryWP_Query
The WP_Query instance (passed by reference).

Source

do_action_ref_array( 'loop_start', array( &$this ) );

Changelog

Version Description
2.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/loop_start