WebVIEP Plugin

PostStatusSync

Table of Contents

Methods

register()  : void
Hook post save handlers for CPT status syncing.
syncBoothStatus()  : void
Sync booth WP status to domain meta.
syncItemStatus()  : void
Sync booth item WP status to domain meta.

Methods

register()

Hook post save handlers for CPT status syncing.

public static register() : void

syncBoothStatus()

Sync booth WP status to domain meta.

public static syncBoothStatus(int $postId, WP_Post $post, bool $update) : void
Parameters
$postId : int

Post identifier.

$post : WP_Post

WordPress post.

$update : bool

Whether this is an update.

syncItemStatus()

Sync booth item WP status to domain meta.

public static syncItemStatus(int $postId, WP_Post $post, bool $update) : void
Parameters
$postId : int

Post identifier.

$post : WP_Post

WordPress post.

$update : bool

Whether this is an update.


        
On this page

Search results