Skip to the content
Documentation

subscribed_nodes_count

No ratings yet

Summary

Fetches the number of nodes that the current user has subscribed to.

Usage

fetch( 'notification', 'subscribed_nodes_count' )

Returns

The number of nodes that the current user has subscribed to (as an integer).

Description

This function fetches and returns the number of nodes that the current user has subsribed to.

Examples

Example 1

{def $node_count=fetch( 'notification', 'subscribed_node_count' )}
The current user has subscribed to {$node_count} number of nodes.

Outputs the number of nodes that the current user has subscribed to.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.