wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_usernumposts › WordPress Filter Hooks

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

Filters the number of posts a user has written.





Sorgenti

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