File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
/home/pharmacy/www/wp-content/plugins/maxbuttons/assets/integrations/elementor/elementor.php
<?php
namespace MaxButtons;
defined('ABSPATH') or die('No direct access permitted');


class MBElementor
{

    public function __construct()
    {
        $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : false;

        if ( ($action == 'elementor' || $action == 'elementor_ajax') && is_admin())
        {
            add_filter('mb_shortcode_display_args', array($this, 'shortcode_args'));
        }
    }

    public function shortcode_args($args)
    {

        $args['load_css'] = 'inline';
        return $args;
    }

}

$mbelem = new MBElementor();