WP_Block_Type::prepare_attributes_for_render

Advertisement

Summery Summery

Validates attributes against the current block schema, populating defaulted and missing values.

Syntax Syntax

WP_Block_Type::prepare_attributes_for_render( array $attributes )

Parameters Parameters

$attributes

(array) (Required) Original block attributes.

Return Return

(array) Prepared block attributes.

Source Source

File: wp-includes/class-wp-block-type.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.