Inventory_Presser_Menu_Item_Print
Contents
Description Description
Enable a print command when a specific menu item is clicked.
If a menu item of type "Custom Link" exists with "#" set as the target and the CSS class "invp-print-button", tell the browser to print the page when a visitor taps the button.
Source Source
File: includes/class-menu-item-print.php
Expand full source code Collapse full source code View on Github
Methods Methods
- add_hooks — Set up filter and action hooks
- hooks — Set up filter and action hooks
- maybe_insert_print_button_javascript — maybe_insert_print_button_javascript
Changelog Changelog
Version | Description |
---|---|
9.0.0 | Introduced. |