$_version
$_version
Main ReduxFramework class
__construct(array $sections, array $args, array $extra_tabs) : \ReduxFramework
Class Constructor. Defines the args for the theme options class
array | $sections | Panel sections. |
array | $args | Class constructor arguments. |
array | $extra_tabs | Extra panel tabs. // REMOVE |
get_instance() : \ReduxFramework
_validate_values(array $plugin_options, array $options, $sections) : array
Validate values from options form (used in settings api validate function) calls the custom validation class for the field so authors can override with custom classes
array | $plugin_options | |
array | $options | |
$sections |
$plugin_options
check_dependencies(array $field) : array
Checks dependencies between objects based on the $field['required'] array
If the array is set it needs to have exactly 3 entries. The first entry describes which field should be monitored by the current field. eg: "content" The second entry describes the comparison parameter. eg: "equals, not, is_larger, is_smaller ,contains" The third entry describes the value that we are comparing against.
Example: if the required array is set to array('content','equals','Hello World'); then the current field will only be displayed if the field with id "content" has exactly the value "Hello World"
array | $field |
$params