BSF_License_Manager::is_product_free( int $product_id )
Is product free.
Description
Parameters
- $product_id
-
(int) (Required) Product ID.
Source
File: admin/bsf-core/class-bsf-license-manager.php
public static function is_product_free( $product_id ) {
$license_manager = self::instance();
$is_free = $license_manager->bsf_get_product_info( $product_id, 'is_product_free' );
return $is_free;
}
Expand full source code Collapse full source code View on Trac