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; }
Expand full source code Collapse full source code View on Trac