WC_Settings_API::validate_settings_fields()publicWC 1.0

Deprecated from version 2.6.0. It is no longer supported and can be removed in future releases. Use d instead.

Validate the data on the "Settings" form.

{} It's a method of the class: WC_Settings_API{}

No Hooks.


null. Nothing.


$WC_Settings_API = new WC_Settings_API();
$WC_Settings_API->validate_settings_fields( $form_fields );
Array of fields.
Default: array()


Deprecated since 2.6.0 No longer used.

Code of WC_Settings_API::validate_settings_fields() WC 6.8.2

public function validate_settings_fields( $form_fields = array() ) {
	wc_deprecated_function( 'validate_settings_fields', '2.6' );