/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/trx_utils/api
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/trx_utils/api/api.php (5238B)
array(
'title' => __('BB Press & Buddy Press', 'trx_utils')
),
'booked' => array(
'title' => __('Booked Appointments', 'trx_utils')
),
'calculated-fields-form' => array(
'title' => __('Calculated Fields Form', 'trx_utils')
),
'contact-form-7' => array(
'title' => __('Contact Form 7', 'trx_utils')
),
'content_timeline' => array(
'title' => __('Content Timeline', 'trx_utils')
),
'easy-digital-downloads' => array(
'title' => __('Easy Digital Downloads', 'trx_utils')
),
'essential-grid' => array(
'title' => __('Essential Grid', 'trx_utils')
),
'elegro-payment' => array(
'title' => __('Elegro Crypto Payment', 'trx_utils')
),
'instagram-feed' => array(
'title' => __('Instagram Feed', 'trx_utils')
),
'mailchimp-for-wp' => array(
'title' => __('MailChimp for WordPress', 'trx_utils')
),
'mp-timetable' => array(
'title' => __('MP TimeTable', 'trx_utils')
),
'revslider' => array(
'title' => __('Revolution Slider', 'trx_utils')
),
'siteorigin-panels' => array(
'title' => __('SiteOrigin Panels (free PageBuilder)', 'trx_utils'),
// Always enabled!!!
'std' => 1,
'hidden' => false
),
'the-events-calendar' => array(
'title' => __('The Events Calendar', 'trx_utils'),
'layouts_sc' => array(
'default' => esc_html__('Default', 'trx_utils'),
'detailed' => esc_html__('Detailed', 'trx_utils')
)
),
'tourmaster' => array(
'title' => __('Tour Master', 'trx_utils')
),
'trx_donations' => array(
'title' => __('ThemeREX Donations', 'trx_utils')
),
'ubermenu' => array(
'title' => __('UberMenu', 'trx_utils')
),
'js_composer' => array(
'title' => __('WPBakery Page Builder', 'trx_utils'),
// Always enabled!!!
'std' => 1,
'hidden' => false
),
'vc-extensions-bundle' => array(
'title' => __('VC Extensions Bundle', 'trx_utils')
),
'woocommerce' => array(
'title' => __('WooCommerce', 'trx_utils')
),
'give' => array(
'title' => __('Give - Donation Plugin', 'trx_utils')
),
'wp-booking-calendar' => array(
'title' => __('WP Booking Calendar', 'trx_utils')
),
'sitepress-multilingual-cms' => array(
'title' => __('WPML - Sitepress Multilingual CMS', 'trx_utils')
),
)
);
if (is_array($TRX_UTILS_STORAGE['api_list']) && count($TRX_UTILS_STORAGE['api_list']) > 0) {
foreach ($TRX_UTILS_STORAGE['api_list'] as $w=>$params) {
if (empty($params['preloaded'])
&& ($fdir = (TRX_UTILS_PLUGIN_DIR . "api/{$w}/{$w}.php")) != '') {
include_once $fdir;
}
}
}
}
}
//-----------------------------------------------------------------------------------
//-- CHECK FOR COMPONENTS EXISTS
//-- Attention! This functions are used in many files and must be declared here!!!
//-----------------------------------------------------------------------------------
// Check if plugin 'WPBakery Page Builder' is installed and activated
if ( !function_exists( 'trx_utils_exists_visual_composer' ) ) {
function trx_utils_exists_visual_composer() {
return class_exists('Vc_Manager');
}
}
// Check if plugin 'SiteOrigin Panels' is installed and activated
if ( !function_exists( 'trx_utils_exists_sop' ) ) {
function trx_utils_exists_sop() {
return class_exists('SiteOrigin_Panels');
}
}
// Check if any PageBuilder is installed and activated
if ( !function_exists( 'trx_utils_exists_page_builder' ) ) {
function trx_utils_exists_page_builder() {
return trx_utils_exists_visual_composer() || trx_utils_exists_sop();
}
}
// Check if RevSlider installed and activated
if ( !function_exists( 'trx_utils_exists_revslider' ) ) {
function trx_utils_exists_revslider() {
return function_exists('rev_slider_shortcode');
}
}
// Check if plugin installed and activated
if ( !function_exists( 'trx_utils_exists_woocommerce' ) ) {
function trx_utils_exists_woocommerce() {
return class_exists('Woocommerce');
}
}
// Check if plugin installed and activated
if ( !function_exists( 'trx_utils_exists_edd' ) ) {
function trx_utils_exists_edd() {
return class_exists('Easy_Digital_Downloads');
}
}
// Check if plugin installed and activated
if ( !function_exists( 'trx_utils_exists_wpml' ) ) {
function trx_utils_exists_wpml() {
return defined('ICL_SITEPRESS_VERSION') && class_exists('sitepress');
}
}
?>