WP_Block_Parser::freeform

SummerySummery

Returns a new block object for freeform HTML

Syntax

WP_Block_Parser::freeform( string $innerHTML )

ParametersParameters

$innerHTML

(string) (Required) HTML content of block.

ReturnReturn

(WP_Block_Parser_Block) freeform block object.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.9.0 Introduced.
Scroll to Top