Description
Filters the value of the post ping status.
Usage
add_filter(
'wp_data_sync_post_ping_status'
,
'my_post_ping_status'
, 10, 1
);
Parameters
$value
string
The value of the post ping status
Code Example
add_filter(
'wp_data_sync_post_ping_status'
,
'my_post_ping_status'
, 10, 1
);
function
my_post_ping_status
(
$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.