Warning: 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 Description


Parameters Parameters

$func

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

$arr

(Required) The array to traverse and cleanup.


Top ↑

Return Return

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


Top ↑

Source Source

File: includes/deprecated/3.4.0/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Use 'learndash_array_map_r' instead.
2.1.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.