Core Function
View Source on Trac ↗ serialize_block_attributes()
serialize_block_attributes( mixed $block_attributes ) Given an array of attributes, returns a string in the serialized attributes
Parameters 1 required
| Name / Type | Description |
|---|---|
| $block_attributes array | Attributes object. Required |
Return Value
(string)
Serialized attributes.
Function Information
Since Version
5.3.1
Source File
wp-includes/blocks.php
Advertisement