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