disable_months_dropdown

disable_months_dropdown

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('disable_months_dropdown') is found 1 times:

  • /wp-admin/includes/class-wp-list-table.php line 716
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    *
     * @param bool   $disable   Whether to disable the drop-down. Default false.
     * @param string $post_type The post type.
     */
    if ( apply_filters( 'disable_months_dropdown', false, $post_type ) ) {
        return;
    }
     
    /**
     * Filters whether to short-circuit performing the months dropdown query.
     *

See this hook used in plugins: