um_myprofile_edit_menu_items

Hook type

Filter

Description

Edit menu items on my profile page

Parameters

$items

(array) User Menu

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_myprofile_edit_menu_items is located in includes/core/um-actions-profile.php::line 1116