manage_posts_custom_column action-hook . WP 1.5.0
Fires in each custom column in the Posts list table.
This hook only fires if the current post type is non-hierarchical, such as posts.
Usage
add_action( 'manage_posts_custom_column', 'action_function_name_6692', 10, 2 ); function action_function_name_6692( $column_name, $post_id ){ // action... }
- $column_name(string)
- The name of the column to display.
- $post_id(int)
- The current post ID.
Where the hook is called
wp-admin/includes/class-wp-posts-list-table.php 1149
do_action( 'manage_posts_custom_column', $column_name, $post->ID );