WP_Block_Processor::get_last_json_error(): int

In this article

Indicates if the last attempt to parse a block’s JSON attributes failed.

Description

See also

Return

int JSON*ERROR* code from last attempt to parse block JSON attributes.

Source

public function get_last_json_error(): int {
	return $this->last_json_error;
}

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

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