Blockseasy_svg_flatten_group()

easy_svg_flatten_group()

Moves a group's children up to its parent, carrying transform, fill and fill-rule, and removes the group.

Function · Easy SVG · Status: Internal · Defined in includes/core-icon.php

Internal: not part of the promised public surface. It may change without notice.

Usage

easy_svg_flatten_group( DOMElement $group ): void

Example

easy_svg_flatten_group( $group );

Description

Moves a group's children up to its parent, carrying transform, fill and fill-rule, and removes the group. A helper of easy_svg_core_icon(), pure and without WordPress.