acf/get_object_type
acf/get_object_type
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/get_object_type') is found 1 times:
- /includes/acf-wp-functions.php line 110106107108109110111112113114115116
* @param object
$object
The object props.
* @param string
$object_type
The object type (post, term, user, etc).
* @param string
$object_subtype
Optional object subtype (post type, taxonomy).
*/
return
apply_filters(
'acf/get_object_type'
,
$object
,
$object_type
,
$object_subtype
);
}
/**
* Decodes a post_id value such
as
1
or
"user_1"
into an
array
containing the type
and
ID.
*
* @
date
25/1/19