update_page_cache()
Устарела с версии 3.4.0. Больше не поддерживается и может быть удалена. Используйте update_post_cache().
Alias of update_post_cache().
Хуков нет.
Возвращает
null. Ничего (null).
Использование
update_page_cache( $pages );
- $pages(массив) (обязательный) (передается по ссылке — &)
- list of page objects.
Заметки
- Смотрите: update_post_cache() Posts and pages are the same, alias is intentional
- Смотрите: update_post_cache()
Список изменений
| С версии 1.5.1 | Введена. |
| Устарела с 3.4.0 | Use update_post_cache() |
Код update_page_cache() update page cache WP 7.0.4
function update_page_cache( &$pages ) {
_deprecated_function( __FUNCTION__, '3.4.0', 'update_post_cache()' );
update_post_cache( $pages );
}