ghost1227/Redux-Framework — pull request #48 by signo (2013-01-13 13:45:07+00:00)
Title: Created filters redux-opts-validateclass-load and

redux-opts-typeclass-load in order to load fileds and validation clases outside the redux folder structure, this way developers can add their own custom fields and validation classes and not loose their changes when the framework files are updated.

Example use:
add_filter('redux-opts-typeclass-load', 'signob_custom_fields', 10, 2);
function signob_custom_fields($class, $file) {

switch ($class) {
case 'Redux_Options_role_select':
return ABSPATH . 'wp-content/fields/role_select/field_role_select.php';
break;

}

//To cancel loading class, return false
return $file;

} //function
//action