Skip to content

Commit

Permalink
Update class-kadence-blocks-svg.php
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Aug 1, 2024
1 parent fd8081d commit 8e9f5a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions includes/class-kadence-blocks-svg.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ public static function render( $name, $fill = 'currentColor', $stroke_width = fa

}

/**
* Recursively generate SVG elements
* Out native SVGs do not have children, but user uploaded SVGs in pro can contain children elements.
*
* @param $elements
*
* @return string
*/
private static function generate_svg_elements( $elements ) {
$output = '';
foreach ( $elements as $element ) {
Expand Down

0 comments on commit 8e9f5a5

Please sign in to comment.