draft_count
Summary
Fetches the number of drafts that belong to the current user.Usage
fetch( 'content', 'draft_count' )
Returns
The number of drafts (as an integer) that belong to the current user.
Description
This function fetches the number of drafts that belong to the current user and returns it as an integer.
Examples
Example 1
{def $drafts=fetch( 'content', 'draft_count' )} The current user has {$drafts} drafts.
Outputs the number of drafts that belong to the current user.
Balazs Halasy (06/02/2004 12:06 pm)
Julia Shymova (27/01/2008 1:02 pm)
Comments
There are no comments.