um_user_photo_menu_view

Hook type

Filter

Description

Change user photo on menu view

Parameters

$items

(array) User Photos

Usage

<?php add_filter( 'um_user_photo_menu_view', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_user_photo_menu_view', 'my_user_photo_menu_view', 10, 1 );
function my_user_photo_menu_view( $items ) {
    // your code here
return $items;
}
?>

Change Log

Since: 2.0

Source

um_user_photo_menu_view is located in includes/core/um-actions-profile.php::line 750