'test', 'type' => 'page', 'bad' => 'value', 'label' => __( 'Test Extension', 'woocommerce' ), 'description' => __( 'My awesome test settings.', 'woocommerce' ), ); $locations[] = array( 'id' => 'coupon-data', 'type' => 'metabox', 'label' => __( 'Coupon Data', 'woocommerce' ), ); $locations[] = array( 'label' => __( 'Invalid', 'woocommerce' ), ); $locations[] = array( 'id' => 'invalid', ); return $locations; } }