Switch language

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




add_screen_option [ WordPress Function ]

add_screen_option ( $option, $args = array() )
Parameters:
  • (string) $option An option name.
  • (mixed) $args Option-dependent arguments.
Defined at:



Register and configure an admin screen option

Source


<?php
function add_screen_option$option$args = array() ) {
    
$current_screen get_current_screen();

    if ( ! 
$current_screen )
        return;

    
$current_screen->add_option$option$args );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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