WordPress开发者和主题制作者的搜索引擎



manage_pages_custom_column ›

Since2.5.0
已弃用n/a
do_action( 'manage_pages_custom_column', $column_name, $post->ID )
参数: (2)
  • (string) $column_name The name of the column to display.
    Required: Yes
  • (int) $post_id The current post ID.
    Required: Yes
定义在:
文档:

Fires in each custom column on the Posts list table.

This hook only fires if the current post type is hierarchical, such as pages.





源码

do_action( 'manage_pages_custom_column', $column_name, $post->ID );