Environment variables

The following environment variables can be used in WP Data Access:

$$USERID$$

Contains the WordPress user ID

$$USER$$

Contains the WordPress user login

$$EMAIL$$

Contains the WordPress user email

Environment variables can be used:

  • As default value in Project Templates
  • In where clauses

Peter Schulz is a lecturer in information technology at the HAN university of applied sciences. He is an experienced programmer with more than 25 years experience in Oracle databases and tools. Peter is the developer of WordPress plugin WP Data Access.

2 Replies to “Environment variables”

  1. Hello,

    it would be very nice to be able to use and define custom “environment” variables to create more complex queries. Is this possible or would/will this be possible? I am thinking for example of PHP session variables or a custom array/list of values coming from logic derived from php code snippets.

Leave a Reply

Your email address will not be published.