Skip to content

Instantly share code, notes, and snippets.

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

This comment has been minimized.

Copy link

@jessuppi jessuppi commented Dec 6, 2018

Thanks Serge,

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

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.