Ctrl K
ComunidadGuías…

plugins/woocommerce-beta-tester/includes/wc-beta-tester-settings-list.php

Rama trunk · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
<?php
/**
 * WooCommerce Beta Tester settings list functions.
 *
 * @package WC_Beta_Tester
 */

defined( 'ABSPATH' ) || exit;

/**
 * Gets the list of settings that can be edited.
 *
 * @return string[]
 */
function wc_beta_tester_setting_list() {
	$settings_list = array(
		'date_format',
		'gmt_offset',
		'permalink_structure',
		'posts_per_page',
		'shop_catalog_image_size',
		'shop_single_image_size',
		'time_format',
		'timezone_string',
		'woocommerce_all_except_countries',
		'woocommerce_allowed_countries',
		'woocommerce_calc_discounts_sequentially',
		'woocommerce_calc_shipping',
		'woocommerce_calc_taxes',
		'woocommerce_cart_redirect_after_add',
		'woocommerce_catalog_columns',
		'woocommerce_catalog_rows',
		'woocommerce_category_archive_display',
		'woocommerce_checkout_address_2_field',
		'woocommerce_checkout_company_field',
		'woocommerce_checkout_highlight_required_fields',
		'woocommerce_checkout_order_received_endpoint',
		'woocommerce_checkout_pay_endpoint',
		'woocommerce_checkout_phone_field',
		'woocommerce_currency',
		'woocommerce_currency_pos',
		'woocommerce_db_version',
		'woocommerce_default_catalog_orderby',
		'woocommerce_default_country',
		'woocommerce_default_customer_address',
		'woocommerce_delete_inactive_accounts',
		'woocommerce_dimension_unit',
		'woocommerce_downloads_add_hash_to_filename',
		'woocommerce_downloads_grant_access_after_payment',
		'woocommerce_downloads_require_login',
		'woocommerce_enable_ajax_add_to_cart',
		'woocommerce_enable_coupons',
		'woocommerce_enable_guest_checkout',
		'woocommerce_enable_myaccount_registration',
		'woocommerce_enable_order_comments',
		'woocommerce_enable_review_rating',
		'woocommerce_enable_reviews',
		'woocommerce_enable_shipping_calc',
		'woocommerce_enable_signup_and_login_from_checkout',
		'woocommerce_erasure_request_removes_download_data',
		'woocommerce_erasure_request_removes_order_data',
		'woocommerce_file_download_method',
		'woocommerce_force_ssl_checkout',
		'woocommerce_hide_out_of_stock_items',
		'woocommerce_hide_products_when_showing_subcategories',
		'woocommerce_hold_stock_minutes',
		'woocommerce_local_tax_rates',
		'woocommerce_logout_endpoint',
		'woocommerce_manage_stock',
		'woocommerce_myaccount_add_payment_method_endpoint',
		'woocommerce_myaccount_delete_payment_method_endpoint',
		'woocommerce_myaccount_downloads_endpoint',
		'woocommerce_myaccount_edit_account_endpoint',
		'woocommerce_myaccount_edit_address_endpoint',
		'woocommerce_myaccount_lost_password_endpoint',
		'woocommerce_myaccount_orders_endpoint',
		'woocommerce_myaccount_payment_methods_endpoint',
		'woocommerce_myaccount_set_default_payment_method_endpoint',
		'woocommerce_myaccount_view_order_endpoint',
		'woocommerce_new_order_settings',
		'woocommerce_notify_low_stock',
		'woocommerce_notify_low_stock_amount',
		'woocommerce_notify_no_stock',
		'woocommerce_notify_no_stock_amount',
		'woocommerce_permalinks',
		'woocommerce_placeholder_image',
		'woocommerce_prepend_category_to_products',
		'woocommerce_prepend_shop_page_to_products',
		'woocommerce_prepend_shop_page_to_urls',
		'woocommerce_price_decimal_sep',
		'woocommerce_price_display_suffix',
		'woocommerce_price_num_decimals',
		'woocommerce_price_thousand_sep',
		'woocommerce_prices_include_tax',
		'woocommerce_product_category_slug',
		'woocommerce_product_slug',
		'woocommerce_product_tag_slug',
		'woocommerce_product_type',
		'woocommerce_registration_generate_password',
		'woocommerce_registration_generate_username',
		'woocommerce_review_rating_required',
		'woocommerce_ship_to_billing',
		'woocommerce_ship_to_billing_address_only',
		'woocommerce_ship_to_countries',
		'woocommerce_ship_to_destination',
		'woocommerce_shipping_cost_requires_address',
		'woocommerce_shipping_hide_rates_when_free',
		'woocommerce_shipping_debug_mode',
		'woocommerce_shipping_tax_class',
		'woocommerce_shop_page_display',
		'woocommerce_shop_show_subcategories',
		'woocommerce_show_marketplace_suggestions',
		'woocommerce_show_subcategories',
		'woocommerce_single_image_width',
		'woocommerce_specific_allowed_countries',
		'woocommerce_specific_ship_to_countries',
		'woocommerce_stock_format',
		'woocommerce_tax_based_on',
		'woocommerce_tax_classes',
		'woocommerce_tax_display_cart',
		'woocommerce_tax_display_shop',
		'woocommerce_tax_rates',
		'woocommerce_tax_round_at_subtotal',
		'woocommerce_tax_total_display',
		'woocommerce_thumbnail_cropping',
		'woocommerce_thumbnail_cropping_custom_height',
		'woocommerce_thumbnail_cropping_custom_width',
		'woocommerce_thumbnail_image_width',
		'woocommerce_trash_cancelled_orders',
		'woocommerce_trash_failed_orders',
		'woocommerce_trash_pending_orders',
		'woocommerce_unforce_ssl_checkout',
		'woocommerce_version',
		'woocommerce_weight_unit',
	);
	return apply_filters( 'wc_beta_tester_setting_list', $settings_list );
}