You appear to be a bot. Output may be restricted
Description
Usage
Tests_Template::test_author_template_hierarchy();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/template.php
Lines:
1 to 17 of 17
public function test_author_template_hierarchy() { $author = self::factory()->user->create_and_get( array( 'user_nicename' => 'foo', ) ); $this->assertTemplateHierarchy( get_author_posts_url( $author->ID ), array( 'author-foo.php', "author-{$author->ID}.php", 'author.php', 'archive.php', ) ); }