This shortcode is used to perform a set of repetitive actions a fixed number of times, based on values passed to it, similar to a programming FOREACH loop.
This shortcode does NOT support conditional branching with [ELSE_foreach].
Shortcode nesting is NOT supported.
|set||This parameter defines a set of comma separated (default) values passed to the shortcode, for each of which an iteration will be performed. The value set may include words or phrases, but may not include commas, unless a different separator is assigned.
|separator||Defines the separator to use in order to separate the values passed to the shortcode.
Default: , (comma).
[mbr_foreach set='5,12,57,31,78'] Going thru the loop; this time the value is [/mbr_foreach]
All actions between the shortcode tags would be performed 5 times, once for each value in the “set”.
The internal variable placeholder, is updated at each iteration.