wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_usernumposts › WordPress Filter Hooks

Seit4.3.1
Veraltetn/v
apply_filters( 'get_usernumposts', $count, $userid, $post_type, $public_only )
Parameter: (4)
  • (int) $count The user's post count.
    Erforderlich: Ja
  • (int) $userid User ID.
    Erforderlich: Ja
  • (string|array) $post_type Single post type or array of post types to count the number of posts for.
    Erforderlich: Ja
  • (bool) $public_only Whether to limit counted posts to public posts.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the number of posts a user has written.





Quellcode

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