acf/location/rule_match хук-фильтрACF 1.0

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

add_filter( 'acf/location/rule_match', 'wp_kama_acf_location_rule_match_filter', 10, 4 );

/**
 * Function for `acf/location/rule_match` filter-hook.
 * 
 * @param  $result      
 * @param  $rule        
 * @param  $screen      
 * @param  $field_group 
 *
 * @return 
 */
function wp_kama_acf_location_rule_match_filter( $result, $rule, $screen, $field_group ){

	// filter...
	return $result;
}
$result
-
$rule
-
$screen
-
$field_group
-

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

acf_match_location_rule()
acf/location/rule_match
acf/includes/locations.php 269
$result = apply_filters( 'acf/location/rule_match', $result, $rule, $screen, $field_group );

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

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