HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/martyknows.com/wp-content/plugins/enlighter/modules/admin/ContextualHelp.php
<?php

namespace Enlighter\Admin;

class ContextualHelp{

    // Setup Help Screen
    public static function settings(){
        // load screen
        $screen = get_current_screen();

        $screen->add_help_tab(array(
            'id' => 'enlighter_ch_tutorials',
            'title'    => __('Tutorials'),
            'callback' => function(){
                include(ENLIGHTER_PLUGIN_PATH.'/views/contextualhelp/'.'tutorials.en_EN.phtml');
            }
        ));

        $screen->add_help_tab(array(
            'id' => 'enlighter_ch_usage',
            'title'    => __('General Usage'),
            'callback' => function(){
                include(ENLIGHTER_PLUGIN_PATH.'/views/contextualhelp/'.'usage.en_EN.phtml');
            }
        ));
        
        // sidebar
        $screen->set_help_sidebar(file_get_contents(ENLIGHTER_PLUGIN_PATH.'/views/contextualhelp/'.'sidebar.en_EN.html'));
    }
}