Parsedown::elementApplyRecursiveDepthFirst( $closure, $Element )
Description
Source
File: bp-help/vendors/parsedown/Parsedown.php
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 | protected function elementApplyRecursiveDepthFirst( $closure , array $Element ) { if (isset( $Element [ 'elements' ])) { $Element [ 'elements' ] = $this ->elementsApplyRecursiveDepthFirst( $closure , $Element [ 'elements' ]); } elseif (isset( $Element [ 'element' ])) { $Element [ 'element' ] = $this ->elementsApplyRecursiveDepthFirst( $closure , $Element [ 'element' ]); } $Element = call_user_func( $closure , $Element ); return $Element ; } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.