wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
update_posts_count › WordPress Function
Od
Przestarzałyn/a
› update_posts_count ( $deprecated = '' )
Parametry: |
|
Zdefiniowane na: |
|
Codex: | |
Dziennik zmian: |
|
Updates a blog's post count.
WordPress MS stores a blog's post count as an option so as to avoid extraneous COUNTs when a blog's details are fetched with get_site(). This function is called when posts are published or unpublished to make sure the count stays current.Powiązane Funkcje: _update_post_term_count, _update_posts_count_on_delete, update_post_meta, update_post_cache, wp_update_term_count