Jetpack::admin_help PHP Method

admin_help() public method

Add help to the Jetpack page
public admin_help ( ) : false
return false if not the Jetpack page
    function admin_help()
    {
        $current_screen = get_current_screen();
        // Overview
        $current_screen->add_help_tab(array('id' => 'home', 'title' => __('Home', 'jetpack'), 'content' => '<p><strong>' . __('Jetpack by WordPress.com', 'jetpack') . '</strong></p>' . '<p>' . __('Jetpack supercharges your self-hosted WordPress site with the awesome cloud power of WordPress.com.', 'jetpack') . '</p>' . '<p>' . __('On this page, you are able to view the modules available within Jetpack, learn more about them, and activate or deactivate them as needed.', 'jetpack') . '</p>'));
        // Screen Content
        if (current_user_can('manage_options')) {
            $current_screen->add_help_tab(array('id' => 'settings', 'title' => __('Settings', 'jetpack'), 'content' => '<p><strong>' . __('Jetpack by WordPress.com', 'jetpack') . '</strong></p>' . '<p>' . __('You can activate or deactivate individual Jetpack modules to suit your needs.', 'jetpack') . '</p>' . '<ol>' . '<li>' . __('Each module has an Activate or Deactivate link so you can toggle one individually.', 'jetpack') . '</li>' . '<li>' . __('Using the checkboxes next to each module, you can select multiple modules to toggle via the Bulk Actions menu at the top of the list.', 'jetpack') . '</li>' . '</ol>' . '<p>' . __('Using the tools on the right, you can search for specific modules, filter by module categories or which are active, or change the sorting order.', 'jetpack') . '</p>'));
        }
        // Help Sidebar
        $current_screen->set_help_sidebar('<p><strong>' . __('For more information:', 'jetpack') . '</strong></p>' . '<p><a href="https://jetpack.com/faq/" target="_blank">' . __('Jetpack FAQ', 'jetpack') . '</a></p>' . '<p><a href="https://jetpack.com/support/" target="_blank">' . __('Jetpack Support', 'jetpack') . '</a></p>' . '<p><a href="' . Jetpack::admin_url(array('page' => 'jetpack-debugger')) . '">' . __('Jetpack Debugging Center', 'jetpack') . '</a></p>');
    }
Jetpack