[wp-trac] [WordPress Trac] #50988: Provide option to disable emails about auto-updates
WordPress Trac
noreply at wordpress.org
Thu Aug 13 17:16:09 UTC 2020
#50988: Provide option to disable emails about auto-updates
-----------------------------+------------------------------
Reporter: Paddy Landau | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 5.5
Severity: normal | Resolution:
Keywords: | Focuses: administration
-----------------------------+------------------------------
Comment (by Paddy Landau):
Thank you for the link, @pbiron. Unfortunately, for a non-coder, this
reads somewhat like gobbledygook.
If I understand correctly, I need to add the following code to WordPress.
{{{
add_filter( 'auto_plugin_theme_update_email',
'myplugin_auto_plugin_theme_update_email', 10, 4 );
}}}
* Do the numbers 10 and 4 mean something specific, or do I just use them
as is?
* Where do I put the code?
* When WordPress is next updated, will that code be overwritten?
The answers to these questions are entirely missing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50988#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list