Inventory_Presser_Email_A_Friend::maybe_change_link( string $menu_item, WP_Post $item, int $depth, object $args )
maybe_change_link
Contents
Description Description
Fills out a mailto: link with vehicle information
Target a specific button in a specific menu and modify the URL.
Parameters Parameters
- $menu_item
-
(Required) item HTML
- $item
-
(Required) post object for the menu item
- $depth
-
(Required) depth of the item for padding
- $args
-
(Required) nav menu arguments
Return Return
(string)
Source Source
File: includes/class-menu-item-email-a-friend.php
Expand full source code Collapse full source code View on Github