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];
	}

Changelog

Changelog
Version Description
3.7.1 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.