Astra_Addon_Admin_Ajax::load_translations()

Load translation strings after ‘init’.


Description


Source

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

	public function load_translations() {
		$this->errors = array(
			'permission' => __( 'Sorry, you are not allowed to do this operation.', 'astra-addon' ),
			'nonce'      => __( 'Nonce validation failed', 'astra-addon' ),
			'default'    => __( 'Sorry, something went wrong.', 'astra-addon' ),
			'invalid'    => __( 'No post data found!', 'astra-addon' ),
		);
	}

Changelog

Changelog
Version Description
4.10.0 Introduced.

User Contributed Notes

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