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: sync/class.jetpack-sync-module-posts.php

View in GitHub

Parameters

$post_ID

(int) the post ID

$post

(mixed) WP_POST object

$update

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

$state

(mixed) state


Changelog

Since: Jetpack 5.8.0


Notes

Have a note to contribute?

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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