Changeset 45580 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 07/01/2019 08:00:12 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r44572 r45580 106 106 * @return string|WP_Error Category name on success, WP_Error on failure. 107 107 */ 108 function get_the_category_by_ID( $cat_ID ) { 108 function get_the_category_by_ID( $cat_ID ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 109 109 $cat_ID = (int) $cat_ID; 110 110 $category = get_term( $cat_ID );
Note: See TracChangeset
for help on using the changeset viewer.