get_loop_records

Loop-related functions

Summary

get_loop_records(string $recordsVar, $throwException = 1)

Get records from the view for iteration.

Note that this function will return an empty array if it is set to therecords variable. Use has_loop_records() to check if records exist.

Parameters:
  • $recordsVar (string) –
  • $throwException (unknown) –
Returns:

array|bool

Usage

Examples

See Also