Inventory PresserCar dealer WordPress plugin
  • Plugins
  • Documentation
    • Feature List
    • Screenshots
    • Theme Compatibility
    • Importing Vehicles
    • Uploading Photos
    • Vehicle Post Type
    • Widgets
    • Shortcodes
    • Template Tags
    • Hooks
  • Sample Sites
  • About
    • About us
    • News
    • Contact us
Home / Documentation / Classes / Inventory_Presser_Email_A_Friend / Inventory_Presser_Email_A_Friend::maybe_change_link()

Inventory_Presser_Email_A_Friend::maybe_change_link( string $menu_item, WP_Post $item, int $depth, object $args )

maybe_change_link

Contents

  • Description
  • Parameters
  • Return
  • Source
  • Related
    • Uses

Description #Description

Fills out a mailto: link with vehicle information

Target a specific button in a specific menu and modify the URL.


Top ↑

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


Top ↑

Return #Return

(string)


Top ↑

Source #Source

File: includes/class-menu-item-email-a-friend.php


			

Expand full source code Collapse full source code View on Github


Top ↑

Related #Related

Uses #Uses

Uses
Uses Description
includes/class-menu-item-email-a-friend.php: Inventory_Presser_Email_A_Friend::url()

url

Plugins
  • Inventory Presser
  • VIN Decoder
  • Elementor Add-on
  • Vehicle Filters Widget
  • View all Plugins→
Support
  • Documentation
  • Contact
About Us
  • News
  • Our Team
Search
Recent Posts
  • Blocks Preview Plugin Available
  • Inventory Presser is Free and Open Source
  • Inventory Presser integrates CarStory Market reports

© 2023 a Friday Systems product powered by WordPress