Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



manage_{$post->post_type}_posts_custom_column ›

Seit3.1.0
Veraltetn/v
do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID )
Parameter: (2)
  • (string) $column_name The name of the column to display.
    Erforderlich: Ja
  • (int) $post_id The current post ID.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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