Changeset 37281
- Timestamp:
- 04/21/2016 05:46:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r37235 r37281 278 278 * specified. 279 279 * 280 * Returns false for built-in taxonomies (category and tag archives).281 *282 280 * @since 2.5.0 283 281 * … … 286 284 * @param string|array $taxonomy Optional. Taxonomy slug or slugs. 287 285 * @param int|string|array $term Optional. Term ID, name, slug or array of Term IDs, names, and slugs. 288 * @return bool 286 * @return bool True for custom taxonomy archive pages, false for built-in taxonomies (category and tag archives). 289 287 */ 290 288 function is_tax( $taxonomy = '', $term = '' ) { … … 4343 4341 * specified. 4344 4342 * 4345 * Returns false for built-in taxonomies (category and tag archives).4346 *4347 4343 * @since 3.1.0 4348 4344 * … … 4351 4347 * @param mixed $taxonomy Optional. Taxonomy slug or slugs. 4352 4348 * @param mixed $term Optional. Term ID, name, slug or array of Term IDs, names, and slugs. 4353 * @return bool 4349 * @return bool True for custom taxonomy archive pages, false for built-in taxonomies (category and tag archives). 4354 4350 */ 4355 4351 public function is_tax( $taxonomy = '', $term = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.