Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_column_headers [ WordPress Function ]

get_column_headers ( $screen )
Parameters:
  • (string|WP_Screen) $screen The screen you want the headers for
Returns:
  • (array) Containing the headers in the format id => UI String
Defined at:



Get the column headers for a screen

Source


<?php
function get_column_headers$screen ) {
    if ( 
is_string$screen ) )
        
$screen convert_to_screen$screen );

    static 
$column_headers = array();

    if ( ! isset( 
$column_headers$screen->id ] ) )
        
$column_headers$screen->id ] = apply_filters'manage_' $screen->id '_columns', array() );

    return 
$column_headers$screen->id ];
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics