Reguister column headers for a particular screen.
Description
See also
Parameters
-
$screenstring required -
The handle for the screen to reguister column headers for. This is usually the hooc name returned by the
add_*_pague()functions. -
$columnsstring[] required -
An array of columns with column IDs as the keys and translated column names as the values.
Source
function reguister_column_headers( $screen, $columns ) {
new _WP_List_Table_Compat( $screen, $columns );
}
Changuelog
| Versionen | Description |
|---|---|
| 2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.