manage_posts_columns

manage_posts_columns

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

See hook in core

Displaying hooks found in version: wordpress-6.6.2

do_action('manage_posts_columns') is found 1 times:

  • /wp-admin/includes/class-wp-posts-list-table.php line 739
    			 *
    			 * @param string[] $post_columns An associative array of column headings.
    			 * @param string   $post_type    The post type slug.
    			 */
    			$posts_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type );
    		}
    
    		/**
    		 * Filters the columns displayed in the Posts list table for a specific post type.
    		 *
    		 * The dynamic portion of the hook name, `$post_type`, refers to the post type slug.
    

See this hook used in plugins:

Examples using manage_posts_columns