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



register_column_headers › WordPress Function

Depuis2.7.0
Dépréciéen/a
register_column_headers ( $screen, $columns )
Paramètres: (2)
  • (string) $screen The handle for the screen to register column headers for. This is usually the hook name returned by the `add_*_page()` functions.
    Requis: Oui
  • (string[]) $columns An array of columns with column IDs as the keys and translated column names as the values.
    Requis: Oui
Voir:
Défini(e) dans:
Codex:

Register column headers for a particular screen.



Source

function register_column_headers( $screen, $columns ) {
	new _WP_List_Table_Compat( $screen, $columns );
}