LLMS_Admin_Profile::add_errors( WP_Error $errors )
Maybe print validation errors
Parameters Parameters
- $errors
-
(WP_Error) (Required) Instance of WP_Error, passed by reference.
Return Return
(void)
Source Source
File: includes/admin/class-llms-admin-profile.php
public function add_errors( &$errors ) { if ( is_wp_error( $this->errors ) && $this->errors->has_errors() ) { $this->merge_llms_fields_errors( $errors ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |