Skip to content

Instantly share code, notes, and snippets.

@spencejs
Created November 5, 2013 19:35
Show Gist options
  • Save spencejs/7324807 to your computer and use it in GitHub Desktop.
Save spencejs/7324807 to your computer and use it in GitHub Desktop.
Add Help Info To Help Tab
//hook loading of new page and edit page screens
add_action('load-page-new.php','add_custom_help_page');
add_action('load-page.php','add_custom_help_page');
function add_custom_help_page() {
//the contextual help filter
add_filter('contextual_help','custom_page_help');
}
function custom_page_help($help) {
//keep the existing help copy
echo $help;
//add some new copy
echo "<h5>Custom Features</h5>";
echo "<p>Content placed above the more divider will appear in column 1. Content placed below the divider will appear in column 2.</p>";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment