Skip to content

atmosphere_update_skipped_unsynced_post

github-actions[bot] edited this page Jun 30, 2026 · 6 revisions

Fires when update_post() skips a post that has no Atmosphere publication history.

Subscribers can use this to surface the skip (e.g. an admin notice nudging the user toward Backfill) or to instrument metrics. Fires exactly once per skipped update.

Auto-generated Example

/**
 * Fires when `update_post()` skips a post that has no
 * Atmosphere publication history.
 * 
 * Subscribers can use this to surface the skip (e.g. an
 * admin notice nudging the user toward Backfill) or to
 * instrument metrics. Fires exactly once per skipped
 * update.
 *
 * @param WP_Post $post 
 */
function my_atmosphere_update_skipped_unsynced_post_callback( WP_Post $post ) {
    // Your code here.
}
add_action( 'atmosphere_update_skipped_unsynced_post', 'my_atmosphere_update_skipped_unsynced_post_callback' );

Parameters

  • WP_Post $post The post whose update was skipped.

Files

\do_action( 'atmosphere_update_skipped_unsynced_post', $post )

← All Hooks

Clone this wiki locally