plugins_auto_update_enabled хук-фильтр . WP 5.5.0
Filters whether plugins auto-update is enabled.
Использование
add_filter( 'plugins_auto_update_enabled', 'filter_function_name_9924' ); function filter_function_name_9924( $enabled ){ // filter... return $enabled; }
- $enabled(true/false)
- True if plugins auto-update is enabled, false otherwise.
Список изменений
С версии 5.5.0 | Введена. |
Где вызывается хук
plugins_auto_update_enabled
wp-admin/includes/update.php 1038
return apply_filters( 'plugins_auto_update_enabled', $enabled );