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
3472      }
3473 }
3474
3475 function screen_meta($screen) {
3476      global $wp_meta_boxes, $_wp_contextual_help;
3477
3478      $screen = str_replace('.php', '', $screen);
3479      $screen = str_replace('-new', '', $screen);
3480      $screen = str_replace('-add', '', $screen);
3481      $screen = apply_filters('screen_meta_screen', $screen);
3482
3483      $column_screens = get_column_headers($screen);
3484      $meta_screens = array('index' => 'dashboard');
3485
3486      if ( isset($meta_screens[$screen]) )
3487           $screen = $meta_screens[$screen];
3488      $show_screen = false;
3489      $show_on_screen = false;
3490      if ( !empty($wp_meta_boxes[$screen]) || !empty($column_screens) ) {