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



manage_{$post_type}_posts_columns › Les Filtres WordPress

Depuis3.0.0
Dépréciéen/a
apply_filters( "manage_{$post_type}_posts_columns", $posts_columns )
Paramètres:
  • (string[]) $post_columns An associative array of column headings.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the columns displayed in the Posts list table for a specific post type.

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

Possible hook names include:

  • manage_post_posts_columns
  • manage_page_posts_columns




Source

return apply_filters( "manage_{$post_type}_posts_columns", $posts_columns );