Welcome, visitor! Log in
 

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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: 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.

Source View

Line Code
3530           $contextual_help .= '<h5>' . __('Other Help') . '</h5>';
3531      } else {
3532           $contextual_help .= '<h5>' . __('Help') . '</h5>';
3533      }
3534
3535      $contextual_help .= '<div class="metabox-prefs">';
3536      $default_help = __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>');
3537      $default_help .= '<br />';
3538      $default_help .= __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>');
3539      $contextual_help .= apply_filters('default_contextual_help', $default_help);
3540      $contextual_help .= "</div>\n";
3541      echo apply_filters('contextual_help', $contextual_help, $screen);
3542      ?>
3543      </div>
3544
3545 <div id="screen-meta-links">
3546 <div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle">
3547 <a href="#contextual-help" id="contextual-help-link" class="show-settings"><?php _e('Help') ?></a>
3548 </div>