clean_page_cache()
Устарела с версии 3.4.0. Больше не поддерживается и может быть удалена. Используйте clean_post_cache.
Will clean the page in the cache.
Clean (read: delete) page from cache that matches $id. Will also clean cache associated with 'all_page_ids' and get_pages.
Хуков нет.
Возвращает
null. Ничего (null).
Использование
clean_page_cache( $id );
- $id(int) (обязательный)
- Page ID to clean.
Заметки
- Смотрите: clean_post_cache()
Список изменений
| С версии 2.0.0 | Введена. |
| Устарела с 3.4.0 | Use clean_post_cache |
Код clean_page_cache() clean page cache WP 7.0.4
function clean_page_cache( $id ) {
_deprecated_function( __FUNCTION__, '3.4.0', 'clean_post_cache()' );
clean_post_cache( $id );
}