conf = include_path() . 'shortcodes/config.php'; $this->popup = $popup; $this->formate_shortcode(); } else { $this->append_error('Config file does not exist'); } } // -------------------------------------------------------------------------- function formate_shortcode() { // get config file require_once( $this->conf ); if( isset( $spyropress_shortcodes[$this->popup]['child_shortcode'] ) ) $this->has_child = true; if( isset( $spyropress_shortcodes ) && is_array( $spyropress_shortcodes ) ) { // get shortcode config stuff $this->params = $spyropress_shortcodes[$this->popup]['params']; $this->append_hidden( "\n" . '