Allow plugins to disable screen options with filter, props yoavf, fixes #17187
git-svn-id: http://svn.automattic.com/wordpress/trunk@17884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70a4181fc7
commit
de88c22a6c
|
@ -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