acf/decode_post_id
acf/decode_post_id
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/decode_post_id') is found 1 times:
- /includes/acf-wp-functions.php line 221217218219220221222223224225226227
*
* @param
array
$props
An
array
containing
"type"
and
"id"
information.
* @param (int|string)
$post_id
The post id.
*/
return
apply_filters(
'acf/decode_post_id'
, compact(
'type'
,
'id'
),
$post_id
);
}
/**
* Determine the REST base
for
a post type
or
taxonomy object. Note that this is not intended
for
use
* with term
or
post objects but is, instead, to be used with the underlying WP_Post_Type
and
WP_Taxonomy
* instances.