Core Function
View Source on Trac ↗ wp_normalize_remote_block_pattern()
wp_normalize_remote_block_pattern( mixed $pattern ) Normalize the pattern properties to camelCase.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $pattern array | Pattern as returned from the Pattern Directory API. Required |
Return Value
(array)
Normalized pattern.
Function Information
Since Version
6.2.0
Source File
wp-includes/block-patterns.php
Advertisement