screen_options_show_submit WordPress Filter Hook

The screen_options_show_submit Wordpress hook allows you to show a submit button on the screen options panel. This can be useful if you want to add custom options to the screen options panel and need a way to save those changes.

apply_filters( 'screen_options_show_submit', bool $show_button, WP_Screen $screen ) #

Filters whether to show the Screen Options submit button.


Parameters

$show_button

(bool)Whether to show Screen Options submit button. Default false.

$screen

(WP_Screen)Current WP_Screen instance.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.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.