posts_selection

posts_selection

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('posts_selection') is found 1 times:

  • /wp-includes/class-wp-query.php line 2975
    2971
    2972
    2973
    2974
    2975
    2976
    2977
    2978
    2979
    2980
    2981
    * @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: