Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: default_contextual_help

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
3630      <?php
3631      $contextual_help = '';
3632      if ( isset($_wp_contextual_help[$screen->id]) ) {
3633           $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen->id] . "</div>\n";
3634      } else {
3635           $contextual_help .= '<div class="metabox-prefs">';
3636           $default_help = __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>');
3637           $default_help .= '<br />';
3638           $default_help .= __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>');
3639           $contextual_help .= apply_filters('default_contextual_help', $default_help);
3640           $contextual_help .= "</div>\n";
3641      }
3642
3643      echo apply_filters('contextual_help', $contextual_help, $screen->id, $screen);
3644      ?>
3645      </div>
3646
3647 <div id="screen-meta-links">
3648 <div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle">