You appear to be a bot. Output may be restricted
Description
Pass nav menu link attributes through attribute parser.
Adds nav menu link attributes via the Genesis markup API.
Usage
$array = genesis_nav_menu_link_attributes( $atts );
Parameters
- $atts
- ( array ) required – { The HTML attributes applied to the menu item's link element, empty strings are ignored.
- $title
- ( string ) required – Title attribute.
- $target
- ( string ) required – Target attribute.
- $rel
- ( string ) required – The rel attribute.
- $href
- ( string ) required – The href attribute. }
Returns
array Maybe modified menu attributes array.
Source
File name: genesis/lib/structure/menu.php
Lines:
1 to 6 of 6
function genesis_nav_menu_link_attributes( $atts ) { return genesis_parse_attr( 'nav-link', $atts ); }