Fires in each custom column on the Posts list table.
This hook only fires if the current post type is hierarchical, such as pages.
$column_namestring
$post_idint
Combined with the manage_pages_columns filter, this allows you to add or remove (unset) custom columns to the list page pages. Note that if you are using custom post types and it has ‘hierarchical‘ => true, then you will need to use this action hook and not manage_$post_type_posts_custom_column.
do_action( 'manage_pages_custom_column', $column_name, $post->ID );
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_pages_custom_column