json_last_error_msg


json_last_error_msg ( No parameters )

Returns:
  • (bool|string) Returns the error message on success, "No Error" if no error has occurred, or false on failure.
Defined at:

Description

Retrieves the error string of the last json_encode() or json_decode() call.

Related Functions

is_client_error, show_user_form, wp_send_json_error, settings_errors, is_wp_error

Top Google Results

User discussions

wpseek mobile