Astra_Gutenberg::group_block_replace_regex( mixed $matches )
Update the block content with inner div.
Description
Parameters
- $matches
-
(mixed) (Required) block content.
Return
(string) New block content.
Source
File: inc/compatibility/class-astra-gutenberg.php
public function group_block_replace_regex( $matches ) { return $matches[1] . '<div class="wp-block-group__inner-container">' . $matches[2] . '</div>' . $matches[3]; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.7.1 | Introduced. |