What multisite has disabled (wp-includes/ms-default-filters.php) a plugin in “mu-plugins” can enable:
<?php
add_filter( ‘enable_post_by_email_configuration’, ‘__return_true’ );
?>
fixed. found another post (did search earlier but didn’t find it then.
Yes that is correct.
By default in multisite post by email is disabled as it was in WordPress MU as you often want to handle it in a more scalable and automated fashion rather than have every user configure it individually
So, how can I enable the post-by-Email-Feature again?
Thanks!
Philip
@philippp Go into your wordpress files via FTP and look in the folder ‘wp-includes’ for a file called ‘ms-default-filters.php’. The second to last group of code is the post via email settings and they are set to false. Change that to true, and you should be good to go.
Justin
Go into your wordpress files via FTP and look in the folder ‘wp-includes’ for a file called ‘ms-default-filters.php’. The second to last group of code is the post via email settings and they are set to false. Change that to true, and you should be good to go.
No, No, No, No, Don’t hack core like that as it will just get overwritten on an update.
in an mu-plugin:
add_filter( 'enable_post_by_email_configuration', '__return_true', 100 );
That will enable it for you fine.
@peter
in an mu-plugin:
add_filter( 'enable_post_by_email_configuration', '__return_true', 100 );
That will enable it for you fine.
I don’t think you are offering up enough practical information for someone to act on to solve this problem.
If you are wanting someone to create their own plugin to turn this on, you need to offer up more details on how to accomplish this task. Correct me if I am wrong, but I think this is more usable …
@Phillippp — What Peter wants you to do is write your own plugin so you can turn on this functionality without hacking the core files. Here is how you do it:
First, create a plain text file called activate-pve.php (you can really call it anything, it just needs the .php at the end). Now, within this file add this:
<?php
/**
* @package Activate_PVE
* @version 1.0
*/
/*
Plugin Name: Activate Post via Email
Plugin URI: http://wordpress.org
Description: This activates the post via email functionality in a multisite network.
Author: Anonymous
Version: 1.0
Author URI: http://wordpress.org
*/
add_filter( 'enable_post_by_email_configuration', '__return_true' );
?>
Save this file and upload this into your plugins directory (root domain directory > wp-content > plugins). Once it is in there, you should be able to go to your WordPress backend and activate it in your plugin list.
After that, you should be able to go to your Settings tab, then Writing, and the Post via Email option should show up for you. I hope this helps.
Justin
Hey!
Great, works! Thanks for your help!
Philip
No problem. I wish they would have documented this better. It took me forever to figure out that it was default for it to be turned off for multisite.
Justin
Actually, what peter was suggesting was take that ONE line of code, toss it in a file just like you made, but without the plugin headers. put it in the MU-plugins folder. Boom, you’re done.
Thank you all for your help, Cerebral! I have been searching for days to find a post that explained how to actually fix it!!
I LOVE WordPress!! Everytime I have a little hiccup… I just stroll over here, take a quick peek & voila!… there’s my answer!
Thanks guys…. again
This is the post I am looking for. I wanted to post by email and found this
Thanks for the OP and others responded this. But I wanted to know why was the feature disabled in ‘Multisite’ environment
What are the downsides and troubles if I enable the feature by using add_filter( 'enable_post_by_email_configuration', '__return_true' );
Thanks for all !