File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,8 +255,10 @@ function is_taxonomy_hierarchical($taxonomy) {
255255 * hierarchical - has some defined purpose at other parts of the API and is a
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
262264 * permastruct; default will use $taxonomy as slug.
You can’t perform that action at this time.
0 commit comments