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

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

add_filter( 'acf/location/match_rule', 'wp_kama_acf_location_match_rule_filter', 10, 4 );

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

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

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

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

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

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