um_profile_menu_link_{$id}

Hook type

Filter

Description

Change profile menu link by tab $id

Parameters

$nav_link

(string) Profile Tab Link

Usage

<?php add_filter( 'um_profile_menu_link_{$id}', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_profile_menu_link_{$id}', 'my_profile_menu_link', 10, 1 );
function my_profile_menu_link( $nav_link ) {
    // your code here
return $nav_link;
}
?>

Change Log

Since: 2.0

Source

um_profile_menu_link_{$id} is located in includes/core/um-actions-profile.php::line 1311