Changeset 22260
- Timestamp:
- 10/18/2012 01:40:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category.php
r22116 r22260 166 166 * @since 1.0.0 167 167 * 168 * @param string $cat_name Optional. Default is 'General' and can be any category name.168 * @param string $cat_name Category name. 169 169 * @return int 0, if failure and ID of category on success. 170 170 */ 171 function get_cat_ID( $cat_name ='General') {171 function get_cat_ID( $cat_name ) { 172 172 $cat = get_term_by( 'name', $cat_name, 'category' ); 173 173 if ( $cat )
Note: See TracChangeset
for help on using the changeset viewer.