Does WordPress have an internal function that throws a PHP error from a wp_error object? Or is this the best way: trigger_error($error->get_error_message());

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *