acf_pro_delete_license_transient()
Deletes a license related transient For multisite installs, this is from the network, otherwise from the normal transient function.
No Hooks.
Returns
true|false. True if the transient was deleted, false otherwise.
Usage
acf_pro_delete_license_transient( $transient_name );
- $transient_name(string) (required)
- The name of the transient to return.
Changelog
| Since 6.2.6 | Introduced. |
acf_pro_delete_license_transient() acf pro delete license transient code ACF 6.8.8
function acf_pro_delete_license_transient( $transient_name ) {
if ( acf_pro_is_legacy_multisite() ) {
return delete_site_transient( $transient_name );
} else {
return delete_transient( $transient_name );
}
}