bp_rest_activity_show_hidden

bp_rest_activity_show_hidden

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.11.1.0

apply_filters('bp_rest_activity_show_hidden') is found 1 times:

  • /bp-activity/classes/class-bp-rest-activity-endpoint.php line 1232
    			 * @param bool   $retval    True to show hidden activities. False otherwise.
    			 * @param string $component The component name/ID.
    			 * @param int    $user_id   The current user ID.
    			 */
    			$retval = apply_filters( 'bp_rest_activity_show_hidden', $retval, $component, $user_id );
    		}
    
    		// Moderators as well.
    		if ( bp_current_user_can( 'bp_moderate' ) ) {
    			$retval = true;
    		}
    
%d bloggers like this:
bp_rest_activity_show_hidden - WordPress Hooks

bp_rest_activity_show_hidden

bp_rest_activity_show_hidden

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.11.0.0

apply_filters('bp_rest_activity_show_hidden') is found 1 times:

  • /bp-activity/classes/class-bp-rest-activity-endpoint.php line 1232
    			 * @param bool   $retval    True to show hidden activities. False otherwise.
    			 * @param string $component The component name/ID.
    			 * @param int    $user_id   The current user ID.
    			 */
    			$retval = apply_filters( 'bp_rest_activity_show_hidden', $retval, $component, $user_id );
    		}
    
    		// Moderators as well.
    		if ( bp_current_user_can( 'bp_moderate' ) ) {
    			$retval = true;
    		}
    
%d bloggers like this: