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



manage_{$post->post_type}_posts_custom_column › WordPress动作钩子

Since3.1.0
已弃用n/a
do_action( "manage_{$post->post_type}_posts_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 for each custom column of a specific post type in the Posts list table.

The dynamic portion of the hook name, $post->post_type, refers to the post type.

Possible hook names include:

  • manage_post_posts_custom_column
  • manage_page_posts_custom_column




源码

do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID );