File: /home/alloesb/www/wp-content/plugins/customify/includes/admin-settings/core/defaults.php
<?php return array
(
'cleanup' => array
(
'switch' => array('switch_not_available'),
),
'checks' => array
(
'counter' => array('is_numeric', 'not_empty'),
),
'processor' => array
(
// callback signature: (array $input, PixCustomifyProcessor $processor)
'preupdate' => array
(
// callbacks to run before update process
// cleanup and validation has been performed on data
),
'postupdate' => array
(
// callbacks to run post update
),
),
'errors' => array
(
'is_numeric' => __('Numberic value required.', 'customify' ),
'not_empty' => __('Field is required.', 'customify' ),
),
'callbacks' => array
(
// cleanup callbacks
'switch_not_available' => 'pixcustomify_cleanup_switch_not_available',
// validation callbacks
'is_numeric' => 'pixcustomify_validate_is_numeric',
'not_empty' => 'pixcustomify_validate_not_empty'
)
); # config