Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress: Disable Post-by-Email configuration and functionality
<?php
add_filter('enable_post_by_email_configuration', '__return_false');
@jessuppi

This comment has been minimized.

Copy link

jessuppi commented Dec 6, 2018

Thanks Serge,

We used a similar filter to make a free plugin with a PHP priority added:

https://wordpress.org/plugins/disable-post-via-email-littlebizzy/

add_filter('enable_post_by_email_configuration', '__return_false', PHP_INT_MAX);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.