wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_usernumposts › WordPress Function

Od0.71
Przestarzały3.0.0
get_usernumposts ( $userid )
Parametry:
  • (int) $userid User to count posts for.
    Wymagane: Tak
Zobacz:
Powrót:
  • (int) Number of posts the given user has written.
Zdefiniowane na:
Codex:

Retrieves the number of posts a user has written.



Źródło

function get_usernumposts( $userid ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'count_user_posts()' );
	return count_user_posts( $userid );
}