field['class']) ){ $class = $this->field['class']; } // condition if( ! empty( $this->field['condition'] ) ){ $class .= ' activeif activeif-'. $this->field['condition']['id']; $conditions = 'data-id="'. $this->field['condition']['id'] .'" data-opt="'. $this->field['condition']['opt'] .'" data-val="'. $this->field['condition']['val'] .'"'; } // php if( ! empty( $this->field['php'] ) ){ if( ! empty( $this->field['php']['function'] ) ){ if( function_exists( $this->field['php']['function'] ) ){ return; } } } // output ----- echo '
'. wp_kses( str_replace('\'',''',$this->field['title']), mfn_allowed_html('desc') ) .'
'; echo '