'', 'subject' => 'hello', 'cc' => '', 'body' => 'Hope you are doing well', 'text' => 'Mailto Link' ), $atts)); $to = !empty($to) ? sanitize_email($to) : get_option( 'admin_email' ); $subject = !empty($subject) ? $subject : 'hello'; $cc = !empty($cc) ? sanitize_email($cc) : ''; $body = !empty($body) ? $body : 'Hope you are doing well'; $text = !empty($text) ? $text : 'Mailto Link'; ob_start(); if ($subject) { $mailto_parameter = '?subject='.esc_html($subject).''; } if ($cc) { $mailto_parameter .= '&cc='.antispambot($cc,1).''; } if ($body) { $mailto_parameter .= '&body='.esc_html($body).''; } ?>