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:
Andrew Ozz 2011-05-12 03:12:41 +00:00
parent a270cd105c
commit 8e3eb0a86b
1 changed files with 2 additions and 0 deletions

View File

@ -1742,6 +1742,8 @@ function screen_meta($screen) {
if ( !empty($wp_current_screen_options) ) if ( !empty($wp_current_screen_options) )
$show_screen = true; $show_screen = true;
$show_screen = apply_filters('screen_options_show_screen', $show_screen, $screen);
?> ?>
<div id="screen-meta"> <div id="screen-meta">