diff --git a/ReduxCore/inc/class.redux_api.php b/ReduxCore/inc/class.redux_api.php index a84a198ae..fd5c41176 100644 --- a/ReduxCore/inc/class.redux_api.php +++ b/ReduxCore/inc/class.redux_api.php @@ -446,6 +446,10 @@ public static function check_opt_name( $opt_name = "" ) { self::$sections[ $opt_name ] = array(); self::$priority[ $opt_name ]['sections'] = 1; } + if ( ! isset( self::$args[ $opt_name ] ) ) { + self::$args[ $opt_name ] = array(); + self::$priority[ $opt_name ]['args'] = 1; + } if ( ! isset( self::$fields[ $opt_name ] ) ) { self::$fields[ $opt_name ] = array(); self::$priority[ $opt_name ]['fields'] = 1;