bsf_flush_bundled_products()

BSF flush Bundled products.


Description


Source

File: admin/bsf-core/index.php

	function bsf_flush_bundled_products() {
		$bsf_force_check_extensions = (bool) get_site_option( 'bsf_force_check_extensions', false );

		if ( $bsf_force_check_extensions ) {
			delete_site_option( 'brainstrom_bundled_products' );

			global $ultimate_referer;
			if ( empty( $ultimate_referer ) ) {
				$ultimate_referer = 'on-flush-bundled-products';
			}
			get_bundled_plugins();

			update_site_option( 'bsf_force_check_extensions', false );
		}
	}


User Contributed Notes

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