Description
This filter allows you to pass arguments to the User List profile function to override default values that are used in the layout. The wpmem_do_ul_profile function uses the wp_parse_args function to merge arguments passed through this filter with the following defaults:
[snippet slug=wpmem_ul_profile_args-defaults lang=php]
Parameters
$defaults (array) (required) The defaults of for display of the profile (see description above)
$user_id (integer) (optional) The user ID of the user being displayed.
Example
Changelog
- Introduced in extension version 1.4
- 2.0.0 added $defaults parameter
- 2.0.1 added $user_id parameter
Source
wpmem_ul_profile_args is located in user-profile.php