WordPress at a glance

the_author_posts() WP 1.0

Display the number of posts by the author of the current post.

Works based on: get_the_author_posts()
✈ 1 time = 0.004421s = very slow | 50000 times = 168.14s = extreme slow PHP 7.1.2, WP 4.7.3

No Hooks.

Return

Nothing (null).

Usage

the_author_posts();

Code of the_author_posts: wp-includes/author-template.php VER 5.0.1

<?php
function the_author_posts() {
	echo get_the_author_posts();
}

Related Functions

From category: Other

More from Template Tags: Authors

No comments
    Hello, !     Log In . Register