Utility function to insert array items at a specific point in an array.
(array) (required) The array in which you want to insert a new element.
(array) (required) The new array items.
(string) (required) The array key at which point you want to insert the new element before or after.
(string) (optional) Where to position the new element relative to the $key (i.e. “before” or “after”) (Default: after).
- Introduced in version 3.1.6
wpmem_redirect_to_login() is located in /inc/api.php.