Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'fl_builder_render_module_content', function( $content, $module ) {
- if ( 'html' === $module->settings->type && FLBuilderModel::is_builder_active() ) {
- $content = 'HTML rendering disabled in the builder.';
- }
- return $content;
- }, 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement