This function has been deprecated. Use ‘learndash_array_map_r’ instead.
array_map_r( callable $func, array $arr )
Utility function to traverse the multidimensional array and apply user function.
Description #
Parameters #
- $func
-
(callable) (Required) The Callable user defined or system function. This should be 'esc_attr', or some similar function.
- $arr
-
(array) (Required) The array to traverse and cleanup.
Return #
(array) $arr The cleaned array after calling user functions.
Source #
Changelog #
Version | Description |
---|---|
3.4.0 | Use 'learndash_array_map_r' instead. |
2.1.2 | Introduced. This function has been deprecated. Use {@see 'learndash_array_map_r'} instead. |