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' ), ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.10.0 | Introduced. |