public function process_form()
{
$cmb_config = $this->get_cmb_config();
$fields = array();
if (isset($_REQUEST['fields'])) {
// Parse the URL query string of the fields array.
parse_str($_POST['fields'], $fields);
}
if (isset($_REQUEST['content']) && !empty($_REQUEST['content'])) {
$fields['sccontent'] = $_REQUEST['content'];
}
// no cmb? just filter and send it back
if (empty($cmb_config)) {
wp_send_json_success($this->filter_form_fields($fields));
}
$this->process_cmb_form($fields);
}