Usage:
This shortcode is used to perform a set of repetitive actions a fixed number of times, similar to a programming FOR…TO…NEXT loop.
This shortcode does NOT support conditional branching with [ELSE_forloop].
Shortcode nesting is NOT supported.
Parameters:
times | This parameter defines the number of iterations to be performed. Default: none. Required: yes. |
Example:
[mbr_forloop times='12'] Going thru the loop times. [/mbr_forloop]
All actions between the shortcode tags would be performed 12 times.
The internal variable placeholder, will be incremented at each iteration.
API:
There is currently no ActiveMember360 API function equivalent for this shortcode.
Note:
Please consider the effect a large number of iterations could have on the performance of your site.