screen_settings WordPress Filter Hook

The screen_settings hook is used to add custom settings to the WordPress admin screens. This hook is called on the following screens: - Dashboard - Posts - Pages - Media - Links - Categories - Tags - Users - Profile - Settings With this hook, you can add custom settings to any of the above screens. For example, you could add a setting to the Dashboard screen to control how many posts are displayed on the screen.

apply_filters( 'screen_settings', string $screen_settings, WP_Screen $screen ) #

Filters the screen settings text displayed in the Screen Options tab.


Parameters

$screen_settings

(string)Screen settings.

$screen

(WP_Screen)WP_Screen object.


Top ↑

Source

File: wp-admin/includes/class-wp-screen.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.