um_user_photo_menu_edit

Hook type

Filter

Description

Change user photo on menu edit

Parameters

$items

(array) User Photos

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_user_photo_menu_edit is located in includes/core/um-actions-profile.php::line 783