Automattic\WooCommerce\EmailEditor\Validator
Validation_Exception::get_wp_error
Returns the WP_Error instance.
Method of the class: Validation_Exception{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Validation_Exception = new Validation_Exception(); $Validation_Exception->get_wp_error(): WP_Error;
Validation_Exception::get_wp_error() Validation Exception::get wp error code WC 10.5.0
public function get_wp_error(): WP_Error {
return $this->wp_error;
}