Description
Fires after the post thumbnail is processed. The post thumbnail attachment id is inserted as post meta.
Usage
do_action(
'wp_data_sync_post_thumbnail'
,
$post_id
,
$post_thumbnail
);
Parameters
$post_id | int | The WordPress post ID | $post_thumbnail | array | The post thumbnail data array |
Code Example
add_action(
'wp_data_sync_post_thumbnail',
function
(
$post_id
,
$post_thumbnail
) {
//Do cool stuff here!!
), 10, 2 );
Contact us if you need a code example for this hook. We are happy to review your request.