Un motore di ricerca WordPress per sviluppatori e autori di temi



get_usernumposts ›

Da4.3.1
Deprecaton/a
apply_filters( 'get_usernumposts', $count, $userid, $post_type, $public_only )
Parametri: (4)
  • (int) $count The user's post count.
    Richiesto:
  • (int) $userid User ID.
    Richiesto:
  • (string|array) $post_type Single post type or array of post types to count the number of posts for.
    Richiesto:
  • (bool) $public_only Whether to limit counted posts to public posts.
    Richiesto:
Definito a:
Codex:

Filters the number of posts a user has written.





Sorgenti

return apply_filters( 'get_usernumposts', $count, $userid, $post_type, $public_only );