um_is_private_filter_hook
Hook type
Filter
Description
Change user privacy
Parameters
$is_private
(bool) Is user private
$privacy
(bool) Profile Privacy
$user_id
(int) User ID
Usage
<?php add_filter( 'um_is_private_filter_hook', 'function_name', 10, 3 ); ?>
Examples
<?php add_filter( 'um_is_private_filter_hook', 'my_is_private_filter', 10, 3 ); function my_is_private_filter( $is_private ) { // your code here return $is_private; } ?>
Change Log
Since: 2.0
Source
um_is_private_filter_hook
is located in includes/core/class-user.php::line 1545