apply_filters( 'um_profile_menu_link_{$id}_attrs', $profile_nav_attrs, $args ) → {string}
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
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 );