acf/fields/relationship/result/name=(name) хук-фильтрACF 1.0

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

add_filter( 'acf/fields/relationship/result/name=(name)', 'wp_kama_acf_fields_relationship_result_name_filter', 10, 4 );

/**
 * Function for `acf/fields/relationship/result/name=(name)` filter-hook.
 * 
 * @param  $title   
 * @param  $post    
 * @param  $field   
 * @param  $post_id 
 *
 * @return 
 */
function wp_kama_acf_fields_relationship_result_name_filter( $title, $post, $field, $post_id ){

	// filter...
	return $title;
}
$title
-
$post
-
$field
-
$post_id
-

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

acf_field_relationship::get_post_title()
acf/fields/relationship/result/name=(name)
acf/includes/fields/class-acf-field-relationship.php 353
$title = apply_filters( 'acf/fields/relationship/result/name=' . $field['_name'], $title, $post, $field, $post_id );

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

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