fix auto_update_plugin hook reference

This commit is contained in:
Ron Rennick 2020-09-22 15:50:54 -03:00
parent 6348f0422c
commit 3ac48cda57
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class WC_Beta_Tester {
);
add_filter( "plugin_action_links_{$this->plugin_name}", array( $this, 'plugin_action_links' ), 10, 1 );
add_filter( 'auto_update_plugin', 'auto_update_woocommerce', 100, 2 );
add_filter( 'auto_update_plugin', array( $this, 'auto_update_woocommerce' ), 100, 2 );
if ( 'stable' !== $this->get_settings()->channel ) {
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'api_check' ) );