Skip to content

How to Disable Settings

David Chandra Purnama edited this page Sep 27, 2016 · 2 revisions

Disable Settings

To disable settings you can add this code in your plugin or theme functions.php

add_filter( 'fx_builder_settings', '__return_false' );

Add support for "fx_builder" to post type manually:

If you disable settings you need to enable page builder in post type your-self by adding support for it for the post type. Here's an example code to add f(x) Builder to "page" post type:

add_action( 'init', function(){
   add_post_type_support( 'page', 'fx_builder' );
} );
Clone this wiki locally