Filter: um_profile_menu_link_{$id}_attrs

Filters a profile menu navigation links' tag attributes.

Parameters:
Name Type Description
$profile_nav_attrs string

Link's tag attributes.

$args array

Profile form arguments.

Since:
  • 2.6.3
Source:
Returns:

Link's tag attributes.

Type
string
Example

Add a link's tag attributes.

function um_profile_menu_link_attrs( $profile_nav_attrs ) {
    // your code here
    return $profile_nav_attrs;
}
add_filter( 'um_profile_menu_link_{$id}_attrs', 'um_profile_menu_link_attrs', 10, 1 );