This repository has been archived on 2022-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
divi/includes/builder/module/FullwidthPostContent.php

22 lines
648 B
PHP

<?php
class ET_Builder_Module_Fullwidth_PostContent extends ET_Builder_Module_Type_PostContent {
public $slug = 'et_pb_fullwidth_post_content';
public function init() {
$this->name = esc_html__( 'Fullwidth Post Content', 'et_builder' );
$this->plural = esc_html__( 'Fullwidth Post Content', 'et_builder' );
$this->fullwidth = true;
$this->vb_support = 'on';
$this->help_videos = array();
// Use specific selector to target only content inside the app when in VB
$this->main_css_element = '%%order_class%%';
}
}
if ( et_builder_should_load_all_module_data() ) {
new ET_Builder_Module_Fullwidth_PostContent();
}