Astra_Addon_Admin_Ajax::get_error_msg( string $type )

Get ajax error message.


Description


Parameters

$type

(string) (Required) Message type.


Return

(string)


Source

File: admin/core/includes/class-astra-addon-admin-ajax.php

	public function get_error_msg( $type ) {

		if ( ! isset( $this->errors[ $type ] ) ) {
			$type = 'default';
		}

		return $this->errors[ $type ];
	}

Changelog

Changelog
Version Description
4.0.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.