Update the update_count_callback docs. see #18986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
38921762a3
commit
975c670f15
|
@ -255,8 +255,10 @@ function is_taxonomy_hierarchical($taxonomy) {
|
|||
* hierarchical - has some defined purpose at other parts of the API and is a
|
||||
* boolean value.
|
||||
*
|
||||
* update_count_callback - works much like a hook, in that it will be called
|
||||
* when the count is updated.
|
||||
* update_count_callback - works much like a hook, in that it will be called when the count is updated.
|
||||
* Defaults to _update_post_term_count() for taxonomies attached to post types, which then confirms
|
||||
* that the objects are then published before counting them.
|
||||
* Defaults to _update_generic_term_count() for taxonomies attached to other object types, such as links.
|
||||
*
|
||||
* rewrite - false to prevent rewrite, or array('slug'=>$slug) to customize
|
||||
* permastruct; default will use $taxonomy as slug.
|
||||
|
|
Loading…
Reference in New Issue