WordPress plugin intelligence profile

WP Contextual Help

Allows a developer to easily extend the contextual help dropdown content area in WordPress.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.1
Current version1.0.2
WordPress coverageTested up to WordPress 4.1
Minimum stackWP 3.3 · PHP —
Directory statusactive
Last directory update5 Jan 201511y ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Contextual Help version 1.0.2 as active, updated 11y ago and tested up to WordPress 4.1.

Overview

About this plugin

Adds helper functionality to easily add to the WP Contextual Help throughout the admin of a WordPress site.

Usage

When you register a tab you have a few different options as far as what content is displayed there.

If you provide a callback argument in the tab args, that will take precedence and the plugin will not look for any HTML files within the help-docs directory.

If you provide a file argument in the tab args, the plugin will look for that file specifically and if it does not exist will output a warning message in place of the content to notify the developer that the specified help document does not exist.

If no file or callback argument is passed into the tab args, by default the plugin will look for a file with the same name as the id of the tab. html within the help docs directory.

HTML Help Docs

All help docs should either reside within the get_template_directory(). '/includes/help-docs/'; directory and all images within the get_template_directory(). '/includes/help-docs/img/';

You can use the wp_contextual_help_docs_dir filter to change the directory for the HTML files and the wp_contextual_help_docs_url filter to change the base URL for the images. Within your help documentation we use the variable {WP_HELP_IMG_URL} as a placeholder for the image URL which is then replaced before rendering with the value provided from the filter or defaults to the default help docs image directory.

Registering a tab

Help tabs are registered using the WP_Contextual_Help::register_tab() method.

Parameters

  • $id (string) – String to be used as the ID for the help tab
  • $title (string) – Title to display to the user within the tab
  • $args (array) – An array of options for the help tab
  • page (string, array) – Page(s) to enable the help tab
  • post_type (string, array) – Limit the tab to only display on these specific post types
  • file (string) – HTML file to read and output within the tab
  • wpautop (boolean) – Default: False – Apply wpautop to the loaded HTML file
  • callback – If a user would rather a custom callback instead of the autoloading of a HTML file, this is where that would be applied

Example

html within get_template_directory(). >

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • contextual
  • help
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.1

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.1
Minimum requirementsWordPress 3.3 · PHP not listed
Update activity5 Jan 201511y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.