Family Encyclopedia >> Electronics

How to modify the dropdown help text in the WordPress admin area

Every WordPress admin screen has a Help button. This area is displayed and contains text that helps the user understand the features of the specific page. When creating a custom site for your clients or a plugin, you may need to modify the Help dropdown menu text. In this article, we will show you how to modify the dropdown help text in the WordPress admin area.

First open your theme's functions.php file and paste the following code:

add_action ('load-page-new.php', 'custom_help_page'); add_action ('load-page.php', 'custom_help_page'); function custom_help_page () add_filter ('contextual_help', 'custom_page_help'); function custom_page_help ($ help) // echo $ help; // Descomentar si solo desea agregar su texto de Ayuda personalizado al eco de texto de Ayuda predeterminado "
Texto de ayuda personalizado
"; eco "

HTML va aquí.

";

This code above will add custom help text on each Add New Page screen. You can do this for your posts page, or any other screen. This is something that we will use for our plugins that we intend to create.

Source:Sixrevisions Blog