parent = $parent;
$this->field = $field;
$this->value = $value;
}
/**
* Field Render Function.
* Takes the vars and outputs the HTML for the field in the settings
*
* @since ReduxFramework 1.0.0
*/
function render() {
// If align value is not set, set it to false, the default
if ( ! isset( $this->field['align'] ) ) {
$this->field['align'] = false;
}
// Set align flag.
$doAlign = $this->field['align'];
// The following could needs to be omitted if align is true.
// Only print it if allign is false.
if ( false == $doAlign ) {
echo '';
echo '';
echo '';
echo '