Throw Errors

wpscont/helpers/throw_error

Description:
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);

Source:
wp-content/plugins/wp-shortcode-control/core/includes/classes/helpers.php

Was this article helpful?

Related Articles