Outil de recherche WordPress pour les développeurs et auteurs de thèmes



manage_{$post->post_type}_posts_custom_column ›

Depuis3.1.0
Dépréciéen/a
do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID )
Paramètres: (2)
  • (string) $column_name The name of the column to display.
    Requis: Oui
  • (int) $post_id The current post ID.
    Requis: Oui
Défini(e) dans:
Codex:

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.





Source

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