-
Notifications
You must be signed in to change notification settings - Fork 7
How to Disable Settings
David Chandra Purnama edited this page Sep 27, 2016
·
2 revisions
To disable settings you can add this code in your plugin or theme functions.php
add_filter( 'fx_builder_settings', '__return_false' );
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' );
} );