Description
Filters the value of the post type.
Usage
add_filter(
'wp_data_sync_post_type'
,
'my_post_type'
, 10, 1
);
Parameters
$value
string
The post type
Code Example
add_filter(
'wp_data_sync_post_type'
,
'my_post_type'
, 10, 1
);
function
my_post_type
(
$value
) {
//Do cool stuff here!!
return
$value
;
}
Contact us if you need a better code example for this hook. We are happy to write one for you.