dynamicprops[$name] = $value; } // Magic method to get dynamic properties public function __get($name) { return isset($this->dynamicprops[$name]) ? $this->dynamicprops[$name] : null; } } // end class } // end if /* Add Premium Extension if exist */ if ( file_exists( trailingslashit( get_template_directory() ) . 'premium/functions.php' ) ) require_once( trailingslashit( get_template_directory() ) . 'premium/functions.php' );