Make WordPress Core

Changeset 19037


Ignore:
Timestamp:
10/21/2011 09:50:36 PM (14 years ago)
Author:
nacin
Message:

Update the update_count_callback docs. see #18986.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r19036 r19037  
    256256 * boolean value.
    257257 *
    258  * update_count_callback - works much like a hook, in that it will be called
    259  * when the count is updated.
     258 * update_count_callback - works much like a hook, in that it will be called when the count is updated.
     259 *  Defaults to _update_post_term_count() for taxonomies attached to post types, which then confirms
     260 *  that the objects are then published before counting them.
     261 *  Defaults to _update_generic_term_count() for taxonomies attached to other object types, such as links.
    260262 *
    261263 * rewrite - false to prevent rewrite, or array('slug'=>$slug) to customize
Note: See TracChangeset for help on using the changeset viewer.