Un motore di ricerca WordPress per sviluppatori e autori di temi



get_usernumposts ›

Da0.71
Deprecato3.0.0
get_usernumposts ( $userid )
Parametri:
  • (int) $userid User to count posts for.
    Richiesto:
Vedi:
Ritorna:
  • (int) Number of posts the given user has written.
Definito a:
Codex:

Retrieves the number of posts a user has written.



Sorgenti

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