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 |
|---|---|
| 3361 | |
| 3362 | if ( !isset($_wp_contextual_help['link']) ) { |
| 3363 | $help = drag_drop_help(); |
| 3364 | $_wp_contextual_help['link'] = $help; |
| 3365 | } |
| 3366 | |
| 3367 | if ( !isset($_wp_contextual_help['options-general']) ) |
| 3368 | $_wp_contextual_help['options-general'] = __('<a href="http://codex.wordpress.org/Settings_General_SubPanel" target="_blank">General Settings</a>'); |
| 3369 | |
| 3370 | $_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen); |
| 3371 | ?> |
| 3372 | <div id="contextual-help-wrap" class="hidden"> |
| 3373 | <?php |
| 3374 | $contextual_help = ''; |
| 3375 | if ( isset($_wp_contextual_help[$screen]) ) { |
| 3376 | if ( !empty($title) ) |
| 3377 | $contextual_help .= '<h5>' . sprintf(__('Get help with "%s"'), $title) . '</h5>'; |
| 3378 | else |
| 3379 | $contextual_help .= '<h5>' . __('Get help with this page') . '</h5>'; |