You appear to be a bot. Output may be restricted
Description
Usage
Tests_Template::test_tag_template_hierarchy();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/template.php
Lines:
1 to 19 of 19
public function test_tag_template_hierarchy() { $term = self::factory()->term->create_and_get( array( 'taxonomy' => 'post_tag', 'slug' => 'foo-😀', ) ); $this->assertTemplateHierarchy( get_term_link( $term ), array( 'tag-foo-😀.php', 'tag-foo-%f0%9f%98%80.php', "tag-{$term->term_id}.php", 'tag.php', 'archive.php', ) ); }