Astra_Visual_Composer::vc_frontend_default_setting()
Set frontend default setting.
Description
Return
(void)
Source
File: inc/compatibility/class-astra-visual-composer.php
public function vc_frontend_default_setting() {
global $post;
$id = astra_get_post_id();
$page_builder_flag = get_post_meta( $id, '_astra_content_layout_flag', true );
if ( empty( $page_builder_flag ) ) {
if ( $id > 0 && empty( $post->post_content ) ) {
$this->vc_update_meta_setting( $id );
}
}
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.0.13 | Introduced. |