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 |
---|---|
1814 | } else { |
1815 | $contextual_help .= '<div class="metabox-prefs">'; |
1816 | $default_help = __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>'); |
1817 | $default_help .= '<br />'; |
1818 | $default_help .= __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>'); |
1819 | $contextual_help .= apply_filters('default_contextual_help', $default_help); |
1820 | $contextual_help .= "</div>\n"; |
1821 | } |
1822 |
|
1823 | echo apply_filters('contextual_help', $contextual_help, $screen->id, $screen); |
1824 | ?> |
1825 | </div> |
1826 |
|
1827 | <div id="screen-meta-links"> |
1828 | <div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle"> |
1829 | <a href="#contextual-help" id="contextual-help-link" class="show-settings"><?php _e('Help') ?></a> |
1830 | </div> |
1831 | <?php if ( $show_screen ) { ?> |
1832 | <div id="screen-options-link-wrap" class="hide-if-no-js screen-meta-toggle"> |