WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
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) ) { |