wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
auto_update_{$type} › Filtr WordPress Hooks
Od5.5.0
Przestarzałyn/a
› apply_filters( "auto_update_{$type}", $update, $item )
Parametry: (2) |
|
Zdefiniowane na: | |
Codex: |
Filters whether to automatically update core, a plugin, a theme, or a language.
The dynamic portion of the hook name, $type
, refers to the type of update
being checked.
Possible hook names include:
auto_update_core
auto_update_plugin
auto_update_theme
auto_update_translation
Since WordPress 3.7, minor and development versions of core, and translations have been auto-updated by default. New installs on WordPress 5.6 or higher will also auto-update major versions by default. Starting in 5.6, older sites can opt-in to major version auto-updates, and auto-updates for plugins and themes.
See the {@see 'allow_dev_auto_core_updates'}, {@see 'allow_minor_auto_core_updates'}, and {@see 'allow_major_auto_core_updates'} filters for a more straightforward way to adjust core updates.
Powiązane Funkcje: wp_update_site, wp_update_term, wp_update_theme, core_update_footer, wp_is_auto_update_enabled_for_type, wp_update_themes
Powiązane Hooks: pre_auto_update, default_template_types, auto_core_update_email, wp_update_site, automatic_updates_complete