_Article.getCountUserArticles(userId)
Function to get the number of published articles created by a user.
Example Usage
{% set popularArticles = _Article.getCountUserArticles(userID) %}
Parameters
Parameter | type | Required | Description |
---|---|---|---|
userID | int | yes | userID of the user |
Response Example
10
Response Description
Success |
---|
Count of published articles of the user |
Updated almost 5 years ago