screen_settings
Filters the screen settings text displayed in the Screen Options tab.
Usage
add_filter( 'screen_settings', 'wp_kama_screen_settings_filter', 10, 2 ); /** * Function for `screen_settings` filter-hook. * * @param string $screen_settings Screen settings. * @param WP_Screen $screen WP_Screen object. * * @return string */ function wp_kama_screen_settings_filter( $screen_settings, $screen ){ // filter... return $screen_settings; }
- $screen_settings(string)
- Screen settings.
- $screen(WP_Screen)
- WP_Screen object.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
screen_settings
wp-admin/includes/class-wp-screen.php 1019
$this->_screen_settings = apply_filters( 'screen_settings', $this->_screen_settings, $this );