Packages

CAWeb

CAWebModuleExtension

ds

Reports

Errors

Markers

Indices

Files

inc/live-drafts.php

CAWeb Live Drafts

Table of Contents

Actions

WordPress Hook: admin_footer-post.php

Description: Fires in footer section for post and post new pages.

Callback Function: caweb_live_drafts_admin_footer

Priority: 10

Source: inc/live-drafts.php : 240

WordPress Hook: admin_head-post.php

Description: Fires in head section for post and post new pages.

Callback Function: caweb_live_drafts_admin_head

Priority: 10

Source: inc/live-drafts.php : 132

WordPress Hook: admin_notices

Description: Prints admin screen notices.

Callback Function: caweb_live_drafts_admin_notice

Priority: 10

Source: inc/live-drafts.php : 198

WordPress Hook: load-post.php

Description: Fires before the post and post new pages are loaded.

Callback Function: caweb_live_drafts_init

Priority: 10

Source: inc/live-drafts.php : 27

WordPress Hook: load-post-new.php

Description: Fires before the post and post new pages are loaded.

Callback Function: caweb_live_drafts_init

Priority: 10

Source: inc/live-drafts.php : 27

WordPress Hook: pre_post_update

Description: Fires immediately before an existing post is updated in the database.

Callback Function: caweb_live_drafts_pre_post_update

Priority: 10

Arguments: 2

Source: inc/live-drafts.php : 323

WordPress Hook:

Description: Invoked by cron ‘publish_future_post’ event.

Callback Function: caweb_live_drafts_publish_future_post

Priority: 10

Source: inc/live-drafts.php : 81

WordPress Hook: save_post

Description: Fires once a post has been saved.

Callback Function: caweb_live_drafts_save_post

Priority: 10

Arguments: 2

Source: inc/live-drafts.php : 423

WordPress Hook: wp_trash_post

Description: Fires before a post is sent to the Trash.

Callback Function: caweb_live_drafts_wp_trash_post

Priority: 10

Source: inc/live-drafts.php : 515

Filters

WordPress Hook: display_post_states

Callback Function: caweb_live_drafts_display_post_states

Priority: 10

Arguments: 2

Source: inc/live-drafts.php : 553

Functions

caweb_live_drafts_admin_head() CAWeb Live Drafts Admin Head
 caweb_live_drafts_admin_head() : void
Return values

void

caweb_live_drafts_admin_notice() CAWeb Live Drafts Admin Notices
 caweb_live_drafts_admin_notice() : void
Return values

void

caweb_live_drafts_display_post_states() Filters the default post display states used in the posts list table.
 caweb_live_drafts_display_post_states(string||string|int $post_states, WP_Post $post) : mixed
Return values

mixed

caweb_live_drafts_duplicate_post() CAWeb Live Drafts Duplicate Post
 caweb_live_drafts_duplicate_post(mixed||string|int $post_data, mixed||string|int $default = array('post_status' => 'draft'),  $use_post_id = true) : array
Return values

array

caweb_live_drafts_init() CAWeb Live Drafts Initialization
 caweb_live_drafts_init() : void
Return values

void

caweb_live_drafts_migrate_post_meta() CAWeb Live Drafts Migrate Post Meta
 caweb_live_drafts_migrate_post_meta( $from,  $to, mixed||string|int $exclude = array()) : void
Return values

void

caweb_live_drafts_post_hooks() CAWeb Live Drafts Post Hooks
 caweb_live_drafts_post_hooks( $add = true) : void
Return values

void

caweb_live_drafts_pre_post_update() CAWeb Live Drafts Pre Post Update
 caweb_live_drafts_pre_post_update( $post_id, mixed||string|int $post) : int
Return values

int

caweb_live_drafts_publish_future_post() CAWeb Publish Future Post
 caweb_live_drafts_publish_future_post(int|WP_Post $post_id) : void
Return values

void

caweb_live_drafts_save_post() CAWeb Live Drafts Post Update
 caweb_live_drafts_save_post( $post_id, WP_POST $post) : int
Return values

int

caweb_live_drafts_wp_trash_post() CAWeb Live Drafts Trash Post
 caweb_live_drafts_wp_trash_post( $post_id) : void
Return values

void