acf/fields/user/result
acf/fields/user/result
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/fields/user/result') is found 2 times:
- /includes/fields/class-acf-field-user.php line 223219220221222223224225226227228229
* @param
array
$args
The query args.
* @param
array
$field
The ACF field related to this query.
* @param (int|string)
$post_id
The post_id being edited.
*/
return
apply_filters(
'acf/fields/user/result'
,
$item
[
'text'
],
$user
,
$field
,
$post_id
);
}
/**
* Filters the field value after it is loaded from the database.
*
* @
date
23/01/13
- /includes/fields/class-acf-field-user.php line 494490491492493494495496497498499500
* @param WP_User
$user
The user object.
* @param
array
$field
The ACF field related to this query.
* @param (int|string)
$post_id
The post_id being edited.
*/
$item
[
'text'
] = apply_filters(
'acf/fields/user/result'
,
$item
[
'text'
],
$user
,
$query
->field,
$query
->post_id );
return
$item
;
}
/**
* Return an
array
of data formatted
for
use
in a select2 AJAX response.
*