Uma área de pesquisa sobre o WordPress para devs e autores do tema



clean_page_cache ›

Desde2.0.0
Obsoleto3.4.0
clean_page_cache ( $id )
Parâmetros:
  • (int) $id Page ID to clean
    Required: Yes
Ver:
Definido em:
Codex:

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'.



Fonte

function clean_page_cache( $id ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'clean_post_cache()' );

	clean_post_cache( $id );
}