clear_global_post_cache()
Устарела с версии 3.0.0. Больше не поддерживается и может быть удалена. Используйте clean_post_cache().
Deprecated functionality to clear the global post cache.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
clear_global_post_cache( $post_id );
- $post_id(int) (обязательный)
- Post ID.
Заметки
- Смотрите: clean_post_cache()
Список изменений
С версии 3.0.0 | Введена. |
Устарела с 3.0.0 | Use clean_post_cache() |
Код clear_global_post_cache() clear global post cache WP 6.5.2
function clear_global_post_cache( $post_id ) { _deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' ); }