function spartan_mce_author_wpcf7($mce_supps, $class, $content, $args) { $cf7_mch_defaults = array(); $cf7_mch = get_option('cf7_mch_' . $args->id(), $cf7_mch_defaults); $cfsupp = $cf7_mch['cf-supp']; if (1 == $cfsupp) { $mce_supps .= mce_referer(); $mce_supps .= mce_author(); } else { $mce_supps .= mce_referer(); $mce_supps .= '<!-- Chimpmail extension by Renzo Johnson -->'; } return $mce_supps; }
function spartan_mce_author_wpcf7($mce_supps) { $cf7_mch = get_option('cf7_mch_5'); $cfsupp = $cf7_mch['cf-supp']; if ($cfsupp == 1) { $mce_supps .= mce_referer(); $mce_supps .= mce_author(); } else { $mce_supps .= mce_referer(); $mce_supps .= '<!-- Chimpmail extension by Renzo Johnson -->'; } return $mce_supps; }