woocommerce_enable_auto_update_db

woocommerce_enable_auto_update_db

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_enable_auto_update_db') is found 1 times:

  • /includes/class-wc-install.php line 626
    			 * Allow WooCommerce to auto-update without prompting the user.
    			 *
    			 * @since 3.2.0
    			 */
    			if ( apply_filters( 'woocommerce_enable_auto_update_db', false ) ) {
    				self::update();
    			} else {
    				WC_Admin_Notices::add_notice( 'update', true );
    			}
    		} else {
    			self::update_db_version();