'pixcustomify', 'settings-key' => 'pixcustomify_settings', 'textdomain' => 'customify', 'template-paths' => array( $basepath . 'core/views/form-partials/', $basepath . 'views/form-partials/', ), 'fields' => array( 'hiddens' => include 'settings/hiddens' . EXT, 'general' => include 'settings/general' . EXT, 'output' => include 'settings/output' . EXT, 'typography' => include 'settings/typography' . EXT, 'css_editor' => include 'settings/css_editor' . EXT, 'tools' => include 'settings/tools' . EXT, ), 'processor' => array( // callback signature: (array $input, customifyProcessor $processor) 'preupdate' => array( // callbacks to run before update process // cleanup and validation has been performed on data ), // 'postupdate' => array( // 'save_settings' // ), ), 'cleanup' => array( 'switch' => array( 'switch_not_available' ), ), 'checks' => array( 'counter' => array( 'is_numeric', 'not_empty' ), ), 'errors' => array( 'not_empty' => __( 'Invalid Value.', 'customify' ), ), // 'callbacks' => array( // 'save_settings' => 'save_customizer_plugin_settings' // ), // shows exception traces on error 'debug' => $debug, /** * DEFAULTS - The default plugin options */ 'default_options' => array( ) ); # config