wpgraphql_enable_major_autoupdates
apply_filters( 'wpgraphql_enable_major_autoupdates', false, $this->new_version, $this->current_version, $this->plugin_data );
Filter whether to allow major autoupdates.
- 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 major autoupdates. Defaults to false.$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_major_autoupdates', false, $this->new_version, $this->current_version, $this->plugin_data );
Related
UpdateChecker::should_allow_major_autoupdates()inplugins/wp-graphql/src/Admin/Updates/UpdateChecker.php:317