Technical Docs

Search Documentation

Function: tribe_is_error

Check whether variable is a WordPress or Tribe Error.

Located at src/functions/utils.php (Line: 327)


Returns true if $thing is an object of the Tribe_Error or WP_Error class.

Parameters summary

(mixed) $thing Any old variable will do.

Return value summary

(bool) Indicates if $thing was an error.


bool tribe_is_error ( mixed $thing )