Visual Composer CleanUp WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Simplified cleanup of visual composer.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/digitalunited/vc-clean-up/archive/refs/heads/master.zipOn Packagist as digitalunited/vc-clean-up:
composer require digitalunited/vc-clean-upWhy?!?
This plugin exist because i got tired of copying my customizations on visual composer to every project. Is allso is meant to solve the issue of maintaing Visual Composer customizations on multiple sites wiuth diffrent requirements.
How?!?
On activation the plugin creates a file named VcCleanUpConfig.php in your current theme. The file consists of a config-array with the possibility to cleanup Visual Composer without anny manual work.
Configuration
enabledStdModules
An array containing all standard modules you want to use. It works as a white list so evertthing thats not declared in this array will disapear from admin. Values: Array with names of modules you want to keep
useBootstrapGrid
Replaces "vc_"-prefixed grid-classes with bootstraps grid-classes Values: true/false
deregisterFrontendStyles
Disables loading of visualcomposaer css if $param equals true Values: true/false
disableFrontendEditor
Disables the frontendeditor Values: true/false
removeExtraClassNameField
Removes the "Extra class name"-field on all modules listed in "enabledStdModules" Values: true/false
removeDesignOptionsTab
Removes the "Design options"-tab on all modules listed in "enabledStdModules" Values: true/false
enableRowLayouts
Removes all row layouts that isn't specified. It uses the rowlayouts titles. Values: Array with titles of standard row_layouts, True enables all standard rowlayouts
setVcAsTheme
Set vc as a part of a theme witch disables the "Custom CSS"-tab on the Visual Composer options-page Values: true/false
disableGridElements
Removes Grid Elements from the admin menu Values: true/false
keepDefaultTemplates
Specify witch VC default templates to keep. The array should contain the custom_class of the the default template. Value: false / array with default templates to keep (t.ex ['vc_default_template-39', 'vc_default_template-1'])
hideVcAdminButtons
Removes alot of unusefull buttons from VisualComposers admin GUI Values: true/false
keepDefaultColumnFields
Specify which params from vc_column should be kept. If set to "all", all default fields will be kept. Values: (string) "all" / (array) ['param_name1', 'param_name2', ...]
Releases
24 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.