Changeset 46596 for trunk/src/wp-admin/includes/screen.php
- Timestamp:
- 10/26/2019 09:07:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/screen.php
r45740 r46596 15 15 * 16 16 * @param string|WP_Screen $screen The screen you want the headers for 17 * @return array Containing the headers in the format id => UI String17 * @return string[] The column header labels keyed by column ID. 18 18 */ 19 19 function get_column_headers( $screen ) { … … 25 25 26 26 if ( ! isset( $column_headers[ $screen->id ] ) ) { 27 28 27 /** 29 28 * Filters the column headers for a list table on a specific screen. … … 36 35 * @since 3.0.0 37 36 * 38 * @param array $columns An array of column headers. Default empty.37 * @param string[] $columns The column header labels keyed by column ID. 39 38 */ 40 39 $column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() );
Note: See TracChangeset
for help on using the changeset viewer.