WP_Block_Type::set_props

SummerySummery

Sets block type properties.

Syntax

WP_Block_Type::set_props( array|string $args )

ParametersParameters

$args

(array|string) (Required) Array or string of arguments for registering a block type.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top