Method | Description | |
---|---|---|
restore_post_revision ( integer $post_id, integer $revision_id ) | Restore to post revision. | |
save_meta_boxes ( integer $id, object $post = null ) | Save meta boxes. | |
save_properties ( integer $id ) | Save properties. |
Method | Description | |
---|---|---|
get_meta_type ( ) : string | Get meta type so we know where the data should be saved. | |
overwrite_post_data ( integer $post_id ) | Overwrite post data in posts table. | |
pre_save ( integer $id ) | Pre save page template and page type. | |
setup_actions ( ) | Setup actions. | |
valid_post_id ( integer $post_id ) : boolean | Check if post id is valid or not. |
protected get_meta_type ( ) : string | ||
return | string |
protected overwrite_post_data ( integer $post_id ) | ||
$post_id | integer |
public restore_post_revision ( integer $post_id, integer $revision_id ) | ||
$post_id | integer | |
$revision_id | integer |
public save_meta_boxes ( integer $id, object $post = null ) | ||
$id | integer | |
$post | object |
protected valid_post_id ( integer $post_id ) : boolean | ||
$post_id | integer | |
return | boolean |