manage_pages_custom_column action-hook . WP 2.5.0
Fires in each custom column on the Posts list table.
This hook only fires if the current post type is hierarchical, such as pages.
Usage
add_action( 'manage_pages_custom_column', 'action_function_name_4451', 10, 2 ); function action_function_name_4451( $column_name, $post_id ){ // action... }
- $column_name(string)
- The name of the column to display.
- $post_id(int)
- The current post ID.
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
manage_pages_custom_column
wp-admin/includes/class-wp-posts-list-table.php 1242
do_action( 'manage_pages_custom_column', $column_name, $post->ID );