Changeset 49183 for trunk/src/wp-includes/class-walker-category.php
- Timestamp:
- 10/17/2020 04:03:58 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r47808 r49183 90 90 * @see Walker::start_el() 91 91 * 92 * @param string $output Used to append additional content (passed by reference).93 * @param object$category Category data object.94 * @param int $depth Optional. Depth of category in reference to parents. Default 0.95 * @param array $args Optional. An array of arguments. See wp_list_categories(). Default empty array.96 * @param int $id Optional. ID of the current category. Default 0.92 * @param string $output Used to append additional content (passed by reference). 93 * @param WP_Term $category Category data object. 94 * @param int $depth Optional. Depth of category in reference to parents. Default 0. 95 * @param array $args Optional. An array of arguments. See wp_list_categories(). Default empty array. 96 * @param int $id Optional. ID of the current category. Default 0. 97 97 */ 98 98 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { … … 114 114 * @since 1.2.0 115 115 * 116 * @param string $description Category description.117 * @param object$category Category object.116 * @param string $description Category description. 117 * @param WP_Term $category Category object. 118 118 */ 119 119 $atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) ); … … 228 228 * @see wp_list_categories() 229 229 * 230 * @param array$css_classes An array of CSS classes to be applied to each list item.231 * @param object$category Category data object.232 * @param int $depth Depth of page, used for padding.233 * @param array $args An array of wp_list_categories() arguments.230 * @param string[] $css_classes An array of CSS classes to be applied to each list item. 231 * @param WP_Term $category Category data object. 232 * @param int $depth Depth of page, used for padding. 233 * @param array $args An array of wp_list_categories() arguments. 234 234 */ 235 235 $css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) );
Note: See TracChangeset
for help on using the changeset viewer.