Метод |
Описание |
|
get_builder ( integer $post_id, string $revision = self::REVISION_PUBLISH ) : array |
Get & Parse the builder from DB. |
|
get_edit_mode ( $post_id ) : mixed |
Get edit mode by Page ID |
|
get_plain_editor ( $post_id, $revision = self::REVISION_PUBLISH ) |
|
|
iterate_data ( $data_container, $callback ) |
|
|
remove_draft ( $post_id ) : void |
Remove draft data from DB. |
|
save_editor ( integer $post_id, array $posted, string $revision = self::REVISION_PUBLISH ) : void |
Save builder method. |
|
set_edit_mode ( integer $post_id, string $mode = 'builder' ) : void |
Setup the edit mode per Page ID |
|