public static function render_page() { self::init_fields(); DLN_Form_Functions::load_frontend_assets(); DLN_Form_Functions::form_get_template('submit-item.php', array('fields' => self::$fields, 'fashion_id' => self::$fashion_id)); }
public static function output() { DLN_Form_Functions::load_frontend_assets(); $keys = array_keys(self::$steps); if (!empty(self::$errors) || isset($keys[self::$step]) && is_callable(self::$steps[$keys[self::$step]]['view'])) { self::show_errors(); call_user_func(self::$steps[$keys[self::$step]]['view']); } }