bsf_get_brainstorm_products( $mix = false )

BSF Get Brainstorm products.


Description

@param bool $mix Mix.


Return

(array) $brainstorm_products.


Source

File: admin/bsf-core/index.php

	function bsf_get_brainstorm_products( $mix = false ) {
		$brainstorm_products = get_option( 'brainstrom_products', array() );

		if ( true === $mix ) {
			$plugins = ( isset( $brainstorm_products['plugins'] ) ) ? $brainstorm_products['plugins'] : array();
			$themes  = ( isset( $brainstorm_products['themes'] ) ) ? $brainstorm_products['themes'] : array();

			$brainstorm_products = array_merge( $plugins, $themes );
		}

		return $brainstorm_products;
	}


User Contributed Notes

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