Added code for Divi builder
-
I needed to filter out some more Divi output to avoid Google Maps and other monsters being displayed because coded inside text or code blocks, so I edited this function:
public function manage_visual_builder_divi() { add_filter( 'et_pb_fullwidth_map_shortcode_output', array( $this, 'filter_builder_shortcode_divi_maps' ) ); add_filter( 'et_pb_map_shortcode_output' , array( $this, 'filter_builder_shortcode_divi_maps' ) ); add_filter( 'et_pb_text_shortcode_output' , array( $this, 'filter_builder_shortcode_divi_html' ) ); // add by manuel add_filter( 'et_pb_code_shortcode_output' , array( $this, 'filter_builder_shortcode_divi_html' ) ); // add by manuel }
and added this one:
public function filter_builder_shortcode_divi_html( $output ) { //add by manuel return $this->buffer_scan($output); }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Added code for Divi builder’ is closed to new replies.