acf/validate_setting filter-hookACF 5.6.5

acf_validate_setting

Returns the changed setting name if available.

Usage

add_filter( 'acf/validate_setting', 'wp_kama_acf_validate_setting_filter' );

/**
 * Function for `acf/validate_setting` filter-hook.
 * 
 * @param n/a $name 
 *
 * @return n/a
 */
function wp_kama_acf_validate_setting_filter( $name ){
	// filter...
	return $name;
}
$name(n/a)
-

Changelog

Since 5.6.5 Introduced.

Where the hook is called

acf_validate_setting()
acf/validate_setting
acf/includes/api/api-helpers.php 80
return apply_filters( 'acf/validate_setting', $name );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.