do_action ( 'jetpack_sync_save_post', int $post_ID, mixed $post, bool $update, mixed $state )

Filter that is used to add to the post flags ( meta data ) when a post gets published

Source file: jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php

View in GitHub



(int) the post ID


(mixed) WP_Post object


(bool) Whether this is an existing post being updated or not.


(mixed) state


Since: Jetpack 1.6.3


Have a note to contribute?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s