/** * Instantiate the Avada class * Make sure the class is properly set-up. * The Avada class is a singular object so we can directly access the one true Avada object using this function. */ function Avada() { // Instantiate the class $avada = Avada::get_instance(); // Properly add the settings $avada->settings = new Avada_Settings(); $avada->mfi = new Avada_Multiple_Featured_Images(); return $avada; }
/** * Instantiates the Avada class * Make sure the class is properly set-up. * The Avada class is a singleton * so we can directly access the one true Avada object using this function. * * @return object Avada */ function Avada() { return Avada::get_instance(); }