Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




_save_post_hook [ WordPress Function ]

_save_post_hook ( $post_id, $post )
Access:
  • private
Parameters:
  • (int) $post_id The ID in the database table for the $post
  • (object) $post Object type containing the post information
Defined at:



Hook used to prevent page/post cache from staying dirty when a post is saved.

Source


<?php
function _save_post_hook$post_id$post ) {
    
clean_post_cache$post );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics