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() : voidReturn values
void
caweb_live_drafts_admin_notice() : voidReturn values
void
caweb_live_drafts_display_post_states(string||string|int $post_states, WP_Post $post) : mixedReturn values
mixed
caweb_live_drafts_duplicate_post(mixed||string|int $post_data, mixed||string|int $default = array('post_status' => 'draft'), $use_post_id = true) : arrayReturn values
array
caweb_live_drafts_init() : voidReturn values
void
caweb_live_drafts_migrate_post_meta( $from, $to, mixed||string|int $exclude = array()) : voidReturn values
void
caweb_live_drafts_post_hooks( $add = true) : voidReturn values
void
caweb_live_drafts_pre_post_update( $post_id, mixed||string|int $post) : intReturn values
int
caweb_live_drafts_publish_future_post(int|WP_Post $post_id) : voidReturn values
void
caweb_live_drafts_save_post( $post_id, WP_POST $post) : intReturn values
int
caweb_live_drafts_wp_trash_post( $post_id) : voidReturn values
void