How to display emails as a post?

It’s very easy use can use wordpress default function wp_insert_post() to create post programtically. See this for more detail. Given below is the code that I modified: <?php class Email_reader { // imap server connection public $conn; // inbox storage and inbox message count private $inbox; private $msg_cnt; // email login credentials private $server=”website.com”; private … Read more

Disable recpacha for contact form 7 specific form

For particular form I don’t know it’s possible or not but yes you can disable that on particular page using below filter, I have used and it’s working fine for me: function contactform_dequeue_scripts() { if (is_singular()) { $post = get_post(); if (has_shortcode($post->post_content, ‘contact-form-7’)) { wp_dequeue_script(‘contact-form-7’); wp_dequeue_script(‘google-recaptcha’); wp_dequeue_style(‘contact-form-7’); } } } add_action(‘wp_enqueue_scripts’, ‘contactform_dequeue_scripts’, 99); Check once … Read more