The WP-Members User List extension has been updated to version 2.1.2.
This update is a low priority release. It essentially focuses on adding the front-end user editing as an experimental feature.
Note that the front-end user editing is not currently available in the admin options. It will need to be enabled by filter. There are two filter functions you need to apply to use it.
The following filter function will enable the front end user editing features:
add_action( 'wpmem_after_init', function() {
global $wpmem;
if ( isset( $wpmem->user_list ) ) {
$wpmem->user_list->settings['fe_user_edit'] = 1;
$wpmem->user_list->edit_users = new WP_Members_User_List_Edit;
}
}, 11 );
To use the front end user editing, you will also need to set a couple of variables. These are set by using the following filter function:
add_filter( 'wpmem_ul_fe_edit_default_args', function( $defaults ) {
$defaults['page'] = 'profile';
$defaults['list_url'] = home_url( 'user-list' );
return $defaults;
});
Note that the value for “page” needs to be the page slug for your User List profile page (note that the profile page options need to be enabled in the plugin’s options for the front end editing to work).
The value for “list_url” needs to generate the URL for your user list. In the example above, you can change the value ‘user-list’ to the slug of the user list page.
If you test the front end user editing features and find any problems, please report them via the support form here (noting that it is for User List).
While you can access the features from the regular list display, the table display is recommended.