Allow plugins to disable screen options with filter, props yoavf, fixes #17187
git-svn-id: https://develop.svn.wordpress.org/trunk@17884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a270cd105c
commit
8e3eb0a86b
|
@ -1742,6 +1742,8 @@ function screen_meta($screen) {
|
|||
|
||||
if ( !empty($wp_current_screen_options) )
|
||||
$show_screen = true;
|
||||
|
||||
$show_screen = apply_filters('screen_options_show_screen', $show_screen, $screen);
|
||||
|
||||
?>
|
||||
<div id="screen-meta">
|
||||
|
|
Loading…
Reference in New Issue