global_terms()
Устарела с версии 6.1.0. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
Maintains a canonical list of terms by syncing terms created for each blog with the global terms table.
Хуков нет.
Возвращает
int
. An ID from the global terms table mapped from $term_id.
Использование
global_terms( $term_id, $deprecated );
- $term_id(int) (обязательный)
- An ID for a term on the current blog.
- $deprecated(строка)
- Not used.
По умолчанию: ''
Список изменений
С версии 3.0.0 | Введена. |
С версии 6.1.0 | This function no longer does anything. |
Устарела с | 6.1.0 |
Код global_terms() global terms WP 6.7.2
function global_terms( $term_id, $deprecated = '' ) { _deprecated_function( __FUNCTION__, '6.1.0' ); return $term_id; }