cart_debugging_extension
extends abstract_extension
in package
Extension: cart_debugging_extension - add on-page (cart) debugging - ATP Custom Plugin for WordPress
Tags
Table of Contents
- VERSION = '23.0608.1'
- __construct() : void
- constructor method
- addActionsAndFilters() : void
- Add filters and actions - called from main plugin
- initialize() : void
- initialize method - called from main plugin z
- isEnabled() : bool
- isEnabled - set or test class enabled for use
- show_before_cart() : void
- called before getting the cart contents
Constants
VERSION
public
string
VERSION
= '23.0608.1'
extension version
Methods
__construct()
constructor method
public
__construct(object $plugin) : void
Parameters
- $plugin : object
-
main plugin object
Return values
void —addActionsAndFilters()
Add filters and actions - called from main plugin
public
addActionsAndFilters() : void
Return values
void —initialize()
initialize method - called from main plugin z
public
initialize() : void
Return values
void —isEnabled()
isEnabled - set or test class enabled for use
public
isEnabled([bool|string $enabled = null ][, bool $perm = null ]) : bool
Parameters
- $enabled : bool|string = null
-
true|false or other extension name
- $perm : bool = null
-
optional, to permanently set enabled option
Return values
bool —show_before_cart()
called before getting the cart contents
public
show_before_cart() : void