From 319a55e9d1399f72d600f72b111cc258b713a306 Mon Sep 17 00:00:00 2001
From: BENJAMIN MOODY <hireme@benjaminmoody.com>
Date: Sun, 6 Oct 2013 19:02:23 -0400
Subject: [PATCH] Patch has docs for 'get_categories_taxonomy', 'get_tags'
 filters for wp-includes/category.php

---
 wp-includes/category.php | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/wp-includes/category.php b/wp-includes/category.php
index 1bddce3..caa1e23 100644
--- a/wp-includes/category.php
+++ b/wp-includes/category.php
@@ -39,7 +39,15 @@ function get_all_category_ids() {
 function get_categories( $args = '' ) {
 	$defaults = array( 'taxonomy' => 'category' );
 	$args = wp_parse_args( $args, $defaults );
-
+	
+	/**
+	 * Filter the taxonomy used to retrieve terms when calling get_categories().
+	 *
+	 * @since 2.7.0
+	 *
+	 * @param string $args['taxonomy'] Taxonomy to retrieve terms from.
+	 * @param array $args Array of args being passed to get_terms() function.
+	 */
 	$taxonomy = apply_filters( 'get_categories_taxonomy', $args['taxonomy'], $args );
 
 	// Back compat
@@ -262,7 +270,15 @@ function get_tags( $args = '' ) {
 		$return = array();
 		return $return;
 	}
-
+	
+	/**
+	 * Filter the array of term objects returned for 'post_tag' taxonomy.
+	 *
+	 * @since 2.3.0
+	 *
+	 * @param array $tags Array of 'post_tag' term objects.
+	 * @param array $args Array of args passed to get_terms() function.
+	 */
 	$tags = apply_filters( 'get_tags', $tags, $args );
 	return $tags;
 }
-- 
1.7.11.1

