Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: screen_meta_screen

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
3404      }
3405 }
3406
3407 function screen_meta($screen) {
3408      global $wp_meta_boxes, $_wp_contextual_help;
3409
3410      $screen = str_replace('.php', '', $screen);
3411      $screen = str_replace('-new', '', $screen);
3412      $screen = str_replace('-add', '', $screen);
3413      $screen = apply_filters('screen_meta_screen', $screen);
3414
3415      $column_screens = get_column_headers($screen);
3416      $meta_screens = array('index' => 'dashboard');
3417
3418      if ( isset($meta_screens[$screen]) )
3419           $screen = $meta_screens[$screen];
3420      $show_screen = false;
3421      $show_on_screen = false;
3422      if ( !empty($wp_meta_boxes[$screen]) || !empty($column_screens) ) {