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 |
---|---|
1798 |
|
1799 | echo $screen_options; |
1800 | echo $settings; ?> |
1801 | <div><?php wp_nonce_field( 'screen-options-nonce', 'screenoptionnonce', false ); ?></div> |
1802 | </form> |
1803 | </div> |
1804 |
|
1805 | <?php endif; // $show_screen |
1806 |
|
1807 | $_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen); |
1808 | ?> |
1809 | <div id="contextual-help-wrap" class="hidden"> |
1810 | <?php |
1811 | $contextual_help = ''; |
1812 | if ( isset($_wp_contextual_help[$screen->id]) ) { |
1813 | $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen->id] . "</div>\n"; |
1814 | } else { |
1815 | $contextual_help .= '<div class="metabox-prefs">'; |
1816 | $default_help = __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>'); |