posts_selection

posts_selection

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('posts_selection') is found 1 times:

  • /wp-includes/class-wp-query.php line 2970
    		 * @since 2.3.0
    		 *
    		 * @param string $selection The assembled selection query.
    		 */
    		do_action( 'posts_selection', $where . $groupby . $orderby . $limits . $join );
    
    		/*
    		 * Filters again for the benefit of caching plugins.
    		 * Regular plugins should use the hooks above.
    		 */
    		if ( ! $q['suppress_filters'] ) {
    

See this hook used in plugins: