Please wait...

Predefined Variables for Report Builder

Report Builder Predefined VariablesList of all Report Builder predefined values

As you probably know, Report Builder allows to use values from source wpDataTables as variables, and also values provided by users in front-end users. Additionally, there is a number of ‘fixed’ predefined variables.

You can use these variables in any report template, and they will be replaced with actual values:

  • ${today} – Current date in the format that’s chosen in your WordPress settings.
  • ${time} – Current time in the format that’s chosen in your WordPress settings.
  • ${creator} or ${generatorname} – Currently logged in user’s “Display name”. Empty for non-logged-in users.
  • ${sitename} – Name of the site, as defined in WordPress’ settings.
  • ${reportname} – Name of current report.

To see the list of rules on preparing templates click here.