Submit
Path:
~
/
home
/
getwphos
/
public_html
/
dumpsterbm
/
wp-content
/
plugins
/
tatsu
/
includes
/
File Content:
class-tatsu-global-module-options.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly class Tatsu_Global_Module_Options { private static $instance; private $modules; private $module_options; public static function getInstance() { if ( null == self::$instance ) { self::$instance = new self; } return self::$instance; } private function __construct() { $this->modules = array(); $this->module_options = array(); } public function deregister_module( $tag ) { if( array_key_exists($tag, $this->modules) ) { unset( $this->modules[$tag] ); } } public function register_module( $tag, $options ) { $options = tatsu_parse_module_options($options); $new_module = array( $tag => $options ); $this->modules = array_merge( $this->modules, $new_module ); } public function get_modules() { return $this->modules; } public function setup_hooks() { if( current_theme_supports('tatsu-global-sections') ) { do_action( 'tatsu_register_global_section' ); do_action( 'tatsu_deregister_global_section' ); } } public function get_module_type( $tag ){ if( array_key_exists( $tag, $this->modules ) ){ return $this->modules[$tag]['type']; } else { return false; } } public function get_core_modules(){ $core_modules = array(); foreach ( $this->modules as $tag => $options ) { if( 'core' === $options['type'] ) { $core_modules[] = $tag; } } return $core_modules; } public function get_registered_modules() { return array_keys( $this->modules ); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
colorhub
---
0755
colors
---
0755
concepts
---
0755
demo-import
---
0755
footer-builder
---
0755
header-builder
---
0755
helpers
---
0755
icons
---
0755
integrations
---
0755
modules
---
0755
rest_api
---
0755
templates
---
0755
typehub
---
0755
class-tatsu-activator.php
1216 bytes
0644
class-tatsu-colors.php
2064 bytes
0644
class-tatsu-config.php
17720 bytes
0644
class-tatsu-content-parser.php
13190 bytes
0644
class-tatsu-deactivator.php
687 bytes
0644
class-tatsu-forms-process.php
10934 bytes
0644
class-tatsu-global-module-options.php
1574 bytes
0644
class-tatsu-global-section-meta.php
970 bytes
0644
class-tatsu-i18n.php
899 bytes
0644
class-tatsu-icons.php
2049 bytes
0644
class-tatsu-integrations.php
13786 bytes
0644
class-tatsu-loader.php
4865 bytes
0644
class-tatsu-post-templates.php
3641 bytes
0644
class-tatsu-svgs.php
1030 bytes
0644
class-tatsu-theme-support.php
2276 bytes
0644
class-tatsu.php
32953 bytes
0644
customizer-controls.php
2284 bytes
0644
global-section-metas.php
662 bytes
0644
index.php
26 bytes
0644
N4ST4R_ID | Naxtarrr