Technical Docs

Search Documentation

Function: tribe_error

A quick internal way of sending errors using WP_Error

Located at src/functions/template-tags/general.php (Line: 570)

Parameters summary

(string|array) $indexes Which Error we are looking for
(array) $context Gives the Error context
(array) $sprintf Allows variables on the message

Return value summary

(WP_Error)

Examples

WP_Error tribe_error ( string|array $indexes, array $context = array(), array $sprintf = array() )