skip to Main Content

WooCommerce custom settings tab validation

When using a custom settings tab in WooCommerce, like: add_filter('woocommerce_settings_tabs_array', 'add_my_custom_tab', 50); function add_my_custom_tab($settings_tabs) { $settings_tabs['my_custom_tab'] = __('My Custom Tab', 'my-custom-tab'); return $settings_tabs; } add_action('woocommerce_settings_tabs_my_custom_tab', 'my_custom_tab'); function my_custom_tab() { woocommerce_admin_fields(get_custom_settings()); } add_action('woocommerce_update_options_my_custom_tab', 'update_my_custom_tab_settings'); function update_my_custom_tab_settings() { woocommerce_update_options(get_custom_settings()); } function get_custom_settings()…

VIEW QUESTION
Back To Top
Search