A WordPress-centric search engine for devs and theme authors



register_column_headers ›

Since2.7.0
Deprecatedn/a
register_column_headers ( $screen, $columns )
Parameters: (2)
  • (string) $screen The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.
    Required: Yes
  • (array) $columns An array of columns with column IDs as the keys and translated column names as the values
    Required: Yes
See:
Defined at:
Codex:

Register column headers for a particular screen.



Source

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