This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

BSF_Update_Manager::enable_auto_updates( String $product_id )

Allow autoupdates to be enabled/disabled per product basis.


Description


Parameters

$product_id

(String) (Required) - Product ID.


Return

(boolean) True - IF updates are to be enabled. False if updates are to be disabled.


Source

File: admin/bsf-core/class-bsf-update-manager.php

		private function enable_auto_updates( $product_id ) {
			return apply_filters( "bsf_enable_product_autoupdates_{$product_id}", true );
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.