Throw Errors


Filters if it should be allowed to throw a specific group of errors or not. This gets useful if you use custom extensions and something went wrong, but you don’t want to display all messages.

Parameter Type Description
$manage_errors bool True if the manage error environment is active.
$arr array An array of the currently given errors.
         * Decide by yourself if a specific error or errors
         * in general should be thrown to wordpress' error log
        $enable = apply_filters('wpscont/helpers/throw_error', $manage_errors, $arr);


Was this article helpful?

Related Articles