0283-filters-wpgraphql-enable-untested-autoupdates
title: wpgraphql_enable_untested_autoupdates hookType: filter hookGroup: settings plugin: wp-graphql
wpgraphql_enable_untested_autoupdates
apply_filters( 'wpgraphql_enable_untested_autoupdates', $should_allow, $this->release_type, $this->new_version, $this->current_version, $this->plugin_data );
Filter whether to allow autoupdates with untested plugins.
- Type: filter
- Group: Settings and Admin
- Since: 2.0.0
- Source File:
plugins/wp-graphql/src/Admin/Updates/UpdateChecker.php
Parameters
$should_allow(bool): Whether to allow autoupdates with untested plugins.$release_type(string): The release type of the current version of WPGraphQL. Either 'major', 'minor', 'patch', or 'prerelease'.$new_version(string): The new WPGraphQL version number.$current_version(string): The current WPGraphQL version number.$plugin_data(object): The plugin data object.
Source
apply_filters( 'wpgraphql_enable_untested_autoupdates', $should_allow, $this->release_type, $this->new_version, $this->current_version, $this->plugin_data );
Related
UpdateChecker::should_allow_untested_autoupdates()inplugins/wp-graphql/src/Admin/Updates/UpdateChecker.php:343
这篇文档对你有帮助吗?
谢谢你的反馈!