Home / RSS Feeds / Activer Elementor Pro + Traduction + FluentCRM
Duplicate Snippet

Embed Snippet on Your Site

Activer Elementor Pro + Traduction + FluentCRM

add_action('init', function () {
$extensions = [
'elementor-pro/elementor-pro.php',
'translatepress-multilingual/translatepress.php',
'fluent-crm/fluent-crm.php'
];

foreach ( $extensions as $extension ) {
if ( !is_plugin_active( $extension ) && file_exists( WP_PLUGIN_DIR . '/' . $extension ) ) {
activate_plugin( $extension );
}
}
});

Code Preview
php
<?php
add_action('init', function () {
    $extensions = [
        'elementor-pro/elementor-pro.php',
        'translatepress-multilingual/translatepress.php',
        'fluent-crm/fluent-crm.php'
    ];
    foreach ( $extensions as $extension ) {
        if ( !is_plugin_active( $extension ) && file_exists( WP_PLUGIN_DIR . '/' . $extension ) ) {
            activate_plugin( $extension );
        }
    }
});

Comments

Add a Comment