jetpack_published_post_flags, $post_flags, $post

jetpack_published_post_flags, $post_flags, $post

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_published_post_flags, $post_flags, $post') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php line 961
    		 *
    		 * @param mixed array post flags that are added to the post
    		 * @param mixed $post \WP_Post object
    		 */
    		$flags = apply_filters( 'jetpack_published_post_flags', $post_flags, $post );
    
    		// Only Send Pulished Post event if post_type is not blacklisted.
    		if ( ! in_array( $post->post_type, Settings::get_setting( 'post_types_blacklist' ), true ) ) {
    
    			/**
    			 * Action that gets synced when a post type gets published.