<?php

    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    
    class WPH_module_general extends WPH_module
        {
      
            function load_components()
                {
                    
                    //add components
                    include(WPH_PATH . "/modules/components/general-core.php");
                    $this->components[]  =   new WPH_module_general_core();
                    
                    include_once(WPH_PATH . "/modules/components/general-meta.php");
                    $this->components[]  =   new WPH_module_general_meta();
                    
                    include_once(WPH_PATH . "/modules/components/general-block-detectors.php");
                    $this->components[]  =   new WPH_module_general_block_detectors();
                    
                    include_once(WPH_PATH . "/modules/components/general-emulate.php");
                    $this->components[]  =   new WPH_module_general_emulate();
                    
                    include_once(WPH_PATH . "/modules/components/general-admin-bar.php");
                    $this->components[]  =   new WPH_module_general_admin_bar();
                    
                    include_once(WPH_PATH . "/modules/components/general-tobots-txt.php");
                    $this->components[]  =   new WPH_module_general_robots_txt();
                    
                    include_once(WPH_PATH . "/modules/components/general-wpemoji.php");
                    $this->components[]  =   new WPH_module_general_wpemoji();
                    
                    include_once(WPH_PATH . "/modules/components/general-styles.php");
                    $this->components[]  =   new WPH_module_general_styles();
                    
                    include_once(WPH_PATH . "/modules/components/general-scripts.php");
                    $this->components[]  =   new WPH_module_general_scripts();
                    
                    include_once(WPH_PATH . "/modules/components/general-oembed.php");
                    $this->components[]  =   new WPH_module_general_oembed();
                    
                    include_once(WPH_PATH . "/modules/components/general-headers.php");
                    $this->components[]  =   new WPH_module_general_headers();
                    
                    include_once(WPH_PATH . "/modules/components/general-html.php");
                    $this->components[]  =   new WPH_module_general_html();
                    
                    include_once(WPH_PATH . "/modules/components/general-user-interactions.php");
                    $this->components[]  =   new WPH_module_general_user_interactions();
                    
                    include_once(WPH_PATH . "/modules/components/general-text-replace.php");
                    $this->components[]  =   new WPH_module_general_text_replace();
                    
                    include_once(WPH_PATH . "/modules/components/general-wp_die.php");
                    $this->components[]  =   new WPH_module_general_html_wp_die();
                    
                    //action available for mu-plugins
                    do_action('wp-hide/module_load_components', $this);
                    
                }
            
            function use_tabs()
                {
                    
                    return TRUE;
                }
            
            function get_module_id()
                {
                    
                    return 'general';
                }
                
            function get_module_slug()
                {
                    
                    return 'wp-hide-general';   
                }
    
            function get_interface_menu_data()
                {
                    $interface_data                     =   array();
                    
                    $interface_data['menu_title']       =   __('<span class="wph-info">Hide&rarr;</span> General / Html',    'wp-hide-security-enhancer');
                    $interface_data['menu_slug']        =   self::get_module_slug();
                    $interface_data['menu_position']    =   20;
                    
                    return $interface_data;
                }
    
            function get_interface_data()
                {
      
                    $interface_data                     =   array();
                    
                    $interface_data['title']              =   __('WP Hide & Security Enhancer <span class="plugin-mark">PRO</span> - General / Html',    'wp-hide-security-enhancer');
                    $interface_data['description']        =   '';
                    $interface_data['handle_title']       =   '';
                    
                    return $interface_data;
                    
                }
            
            
            
                
                
        }
    
 
?>