clean_category_cache() WP 2.1.0
Removes the category cache data based on ID.
Хуков нет.
Возвращает
Null. Ничего.
Использование
clean_category_cache( $id );
- $id(число) (обязательный)
- Category ID
Список изменений
С версии 2.1.0 | Введена. |
Код clean_category_cache() clean category cache WP 5.6.2
function clean_category_cache( $id ) {
clean_term_cache( $id, 'category' );
}