acf_pro_is_license_active()
Checks if the current license is active.
No Hooks.
Returns
true|false. True if active, false if not.
Usage
acf_pro_is_license_active( $status );
- $status(array)
- Optional license status array.
Default:array()
Changelog
| Since 6.2.2 | Introduced. |
acf_pro_is_license_active() acf pro is license active code ACF 6.8.8
function acf_pro_is_license_active( $status = array() ) {
if ( empty( $status ) ) {
$status = acf_pro_get_license_status();
}
return 'active' === $status['status'];
}