\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /var/www/html/softech.com.tr/wp-content/plugins/bdthemes-element-pack/modules/charitable/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/softech.com.tr/wp-content/plugins/bdthemes-element-pack/modules/charitable/module.php |
<?php
namespace ElementPack\Modules\Charitable;
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';
}
public function get_widgets() {
$charitable_campaigns = element_pack_option('charitable-campaigns', 'element_pack_third_party_widget', 'off' );
$charitable_donations = element_pack_option('charitable-donations', 'element_pack_third_party_widget', 'off' );
$charitable_donors = element_pack_option('charitable-donors', 'element_pack_third_party_widget', 'off' );
$charitable_stat = element_pack_option('charitable-stat', 'element_pack_third_party_widget', 'off' );
$charitable_donation_form = element_pack_option('charitable-donation-form', 'element_pack_third_party_widget', 'off' );
$charitable_login = element_pack_option('charitable-login', 'element_pack_third_party_widget', 'off' );
$charitable_profile = element_pack_option('charitable-profile', 'element_pack_third_party_widget', 'off' );
$charitable_registration = element_pack_option('charitable-registration', 'element_pack_third_party_widget', 'off' );
$widgets = [];
if ( 'on' === $charitable_campaigns ) {
$widgets[] = 'Charitable_Campaigns';
}
if ( 'on' === $charitable_donations ) {
$widgets[] = 'Charitable_Donations';
}
if ( 'on' === $charitable_donors ) {
$widgets[] = 'Charitable_Donors';
}
if ( 'on' === $charitable_stat ) {
$widgets[] = 'Charitable_Stat';
}
if ( 'on' === $charitable_donation_form ) {
$widgets[] = 'Charitable_Donation_Form';
}
if ( 'on' === $charitable_login ) {
$widgets[] = 'Charitable_Login';
}
if ( 'on' === $charitable_registration ) {
$widgets[] = 'Charitable_Registration';
}
if ( 'on' === $charitable_profile ) {
$widgets[] = 'Charitable_Profile';
}
return $widgets;
}
}