acf_untrash_taxonomy()
Restores an ACF taxonomy from the trash.
Хуков нет.
Возвращает
true|false. True if taxonomy was untrashed.
Использование
acf_untrash_taxonomy( $id );
- $id(int|строка)
- The taxonomy ID, key, or name.
Список изменений
| С версии 6.1 | Введена. |
Код acf_untrash_taxonomy() acf untrash taxonomy ACF 6.4.2
function acf_untrash_taxonomy( $id = 0 ) {
return acf_untrash_internal_post_type( $id, 'acf-taxonomy' );
}