Astra_Admin_Ajax::get_error_msg( string $type )
Get ajax error message.
Description
Parameters
- $type
-
(string) (Required) Message type.
Return
(string)
Source
File: admin/includes/class-astra-admin-ajax.php
public function get_error_msg( $type ) { if ( ! isset( $this->errors[ $type ] ) ) { $type = 'default'; } return $this->errors[ $type ]; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |