acf/settings/(name) хук-фильтрACF 1.0

filter

Использование

add_filter( 'acf/settings/(name)', 'wp_kama_acf_settings_name_filter' );

/**
 * Function for `acf/settings/(name)` filter-hook.
 * 
 * @param  $value 
 *
 * @return 
 */
function wp_kama_acf_settings_name_filter( $value ){

	// filter...
	return $value;
}
$value
-

Где вызывается хук

acf_get_setting()
acf/settings/(name)
acf/includes/api/api-helpers.php 121
$value = apply_filters( "acf/settings/{$name}", $value );

Где используется хук в Advanced Custom Fields

acf/includes/api/api-helpers.php 3472
add_filter( 'acf/settings/uploader', '_acf_settings_uploader' );
acf/includes/wpml.php 52
add_filter( 'acf/settings/save_json', array( $this, 'settings_save_json' ) );
acf/includes/wpml.php 53
add_filter( 'acf/settings/load_json', array( $this, 'settings_load_json' ) );