Inventory_Presser_Maximum_Price_Filter::__construct()
__construct
On This Page
Description Description
Calls the parent class' contructor and adds a hook that will delete the option that stores this widget's data when the plugin's delete all data method is run.
Return Return
(void)
Source Source
File: includes/widget/class-widget-maximum-price-filter.php
self::ID_BASE, __( 'Maximum Price Filter', 'inventory-presser' ), array( 'description' => __( 'Filter vehicles by a maximum price.', 'inventory-presser' ), 'show_instance_in_rest' => true, ) ); add_action( 'invp_delete_all_data', array( $this, 'delete_option' ) ); } /**
Expand full source codeCollapse full source codeView on Github