Browse: Home / Functions /


learndash_array_map_r( callable $func,  array $arr )

Utility function to traverse the multidimensional array and apply user function.

Description #

Parameters #


(callable) (Required) The Callable user defined or system function. This should be 'esc_attr', or some similar function.


(array) (Required) The array to traverse and cleanup.

Return #

(array) $arr The cleaned array after calling user functions.

Source #

File: includes/ld-misc-functions.php

Changelog #

Version Description
2.1.2 Introduced.