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