# customify/2.3.4.1/plugin-config.php

Customify, version 2.3.4.1. 62 lines.

- Page: https://pluginprobe.com/plugins/customify/2.3.4.1/code/plugin-config.php
- Raw: https://pluginprobe.com/plugins/customify/2.3.4.1/raw/plugin-config.php
- Modified: 2018-12-04T19:00:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/customify/2.3.4.1/code/plugin-config.php#L10-L20`.

```php
<?php defined( 'ABSPATH' ) or die;

$basepath = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;

$debug = false;
if ( isset( $_GET['debug'] ) && $_GET['debug'] == 'true' ) {
	$debug = true;
}

$debug = true;

$customify_config = require $basepath . 'customify_config.php';

return array(
	'plugin-name'           => '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,
		'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

```
