Description
Filters the value of the post author. NOTE: This must return the post author user id.
Usage
apply_filters(
'wp_data_sync_post_author'
,
$value
);
Parameters
$value | string | The post author |
Code Example
add_filter(
'wp_data_sync_post_author',
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.