WP_Block_Processor::get_attributes(): never

In this article

Returns a lazy wrapper around the block attributes, which can be used for efficiently interacting with the JSON attributes.

Description

This stub hints that there should be a lazy interface for parsing block attributes but doesn’t define it. It serves both as a placeholder for one to come as well as a guard against implementing an eager function in its place.

See also

Return

never

Source

public function get_attributes() {
	throw new Exception( 'Lazy attribute parsing not yet supported' );
}

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

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