RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Functions
  6. rpress_is_test_mode()

rpress_is_test_mode()

This function can be used to check if test mode is enabled for restropress.

$test_mode = rpress_is_test_mode();
// (boolean) "false" if not enabled
// (boolean) "true" if is enabled

How can we help?