![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/cwd/wp-content/plugins/bdthemes-element-pack/modules/charitable-stat/ |
<?php namespace ElementPack\Modules\CharitableStat; use ElementPack\Base\Element_Pack_Module_Base; if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly class Module extends Element_Pack_Module_Base { public function get_name() { return 'charitable-stat'; } public function get_widgets() { // $charitable_stat = element_pack_option('charitable-stat', 'element_pack_third_party_widget', 'off' ); $widgets = ['Charitable_Stat']; // if ( 'on' === $charitable_stat ) { // $widgets[] = 'Charitable_Stat'; // } return $widgets; } }