acf_pro_delete_license_transient()
Deletes a license related transient For multisite installs, this is from the network, otherwise from the normal transient function.
Хуков нет.
Возвращает
true|false. True if the transient was deleted, false otherwise.
Использование
acf_pro_delete_license_transient( $transient_name );
- $transient_name(строка) (обязательный)
- The name of the transient to return.
Список изменений
| С версии 6.2.6 | Введена. |
Код acf_pro_delete_license_transient() acf pro delete license transient ACF 6.4.2
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 );
}
}