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

apply_filters('disable_months_dropdown') is found 1 times:

  • /wp-admin/includes/class-wp-list-table.php line 716
    		 *
    		 * @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: