mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Priority fixes for various existing hook documentation.
Props kpdesign. See #26869 git-svn-id: https://develop.svn.wordpress.org/trunk@28083 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -108,11 +108,11 @@ if ( !is_multisite() ) {
|
||||
$whitelist_options['general'][] = 'WPLANG';
|
||||
|
||||
/**
|
||||
* Toggle post-by-email functionality.
|
||||
* Filter whether the post-by-email functionality is enabled.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param bool True or false, based on whether post-by-email configuration is enabled or not.
|
||||
* @param bool $enabled Whether post-by-email configuration is enabled. Default true.
|
||||
*/
|
||||
if ( apply_filters( 'enable_post_by_email_configuration', true ) )
|
||||
$whitelist_options['writing'] = array_merge($whitelist_options['writing'], $mail_options);
|
||||
|
||||
Reference in New Issue
Block a user