Description
Filters the value of the post parent. NOTE: The value is passed in as a string, but should be returned as an integer.
Usage
apply_filters(
'wp_data_sync_post_parent'
,
$value
);
Parameters
$value | string | The post parent id |
Code Example
add_filter(
'wp_data_sync_post_parent',
function
(
$value
) {
//Do cool stuff here!!
return
$value
;
), 10, 1 );
Contact us if you need a code example for this hook. We are happy to review your request.