bsf_bundled_plugins( int $product_id = '' )

BSF bundled plugins.


Description


Parameters

$product_id

(int) (Optional) Product ID.

Default value: ''


Source

File: admin/bsf-core/index.php

	function bsf_bundled_plugins( $product_id = '' ) {
		$products = array();

		$brainstrom_bundled_products = get_option( 'brainstrom_bundled_products', '' );

		if ( '' !== $brainstrom_bundled_products ) {
			if ( array_key_exists( $product_id, $brainstrom_bundled_products ) ) {
				$products = $brainstrom_bundled_products[ $product_id ];
			}
		}

		return $products;
	}


User Contributed Notes

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