Filters the update response for a given plugin hostname.
The dynamic portion of the hook name, $hostname, refers to the hostname of the URI specified in the Update URI header field.
$updatearray|false
id stringUpdate URI header field.slug stringversion stringurl stringpackage stringtested stringrequires_php stringautoupdate boolicons arraybanners arraybanners_rtl arraytranslations arraylanguage stringversion stringupdated stringYYYY-MM-DD HH:MM:SS format.package stringautoupdate string$plugin_dataarray
$plugin_filestring
$localesstring[]
$update = apply_filters( "update_plugins_{$hostname}", false, $plugin_data, $plugin_file, $locales );
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/update_plugins_hostname