wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



clean_page_cache › WordPress Function

Depuis2.0.0
Dépréciée3.4.0
clean_page_cache ( $id )
Paramètres:
  • (int) $id Page ID to clean
    Requis: Oui
Voir:
Défini(e) dans:
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'.


Source

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

	clean_post_cache( $id );
}