mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- profile tabs privacy new hooks for integration;
This commit is contained in:
@@ -249,7 +249,7 @@ if ( ! class_exists( 'um\core\Profile' ) ) {
|
||||
break;
|
||||
|
||||
default:
|
||||
$can_view = true;
|
||||
$can_view = apply_filters( 'um_profile_menu_can_view_tab', true, $privacy, $tab, $tab_data, $target_id );
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
* Enhancements:
|
||||
- Added: Hook to unlock the ability to add new users through the registration form
|
||||
- Added: Filter hook 'um_change_usermeta_for_update' for extending `$to_update` usermeta array after all profile fields validations
|
||||
- Added: Filter hook 'um_profile_tabs_privacy_list' for extending privacy options for Profile Tabs
|
||||
- Added: Filter hook 'um_profile_tabs_privacy_list' and 'um_profile_menu_can_view_tab' for extending privacy options for Profile Tabs
|
||||
|
||||
* Bugfixes:
|
||||
- Fixed: Temp directory size calculation
|
||||
|
||||
Reference in New Issue
Block a user