Changeset 45580 for trunk/src/wp-includes/category.php
- Timestamp:
- 07/01/2019 08:00:12 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category.php
r43571 r45580 198 198 * @return int 0, if failure and ID of category on success. 199 199 */ 200 function get_cat_ID( $cat_name ) { 200 function get_cat_ID( $cat_name ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 201 201 $cat = get_term_by( 'name', $cat_name, 'category' ); 202 202 if ( $cat ) {
Note: See TracChangeset
for help on using the changeset viewer.