init.php
Allows to fire an action when the plugin is loaded
includes/class.yith-role-based-prices-product.php
Allows to fire an action before the getting the product prices
Params
WC_Product $product The current product.
Allows to fire an action after the getting the product prices
Params
WC_Product $product The current product.
Allows to fire an action before the getting the product prices
Params
WC_Product $product The current product.
Allows to fire an action after the getting the product prices
Params
WC_Product $product The current product.
Allows to fire an action before the getting the product prices
Params
WC_Product $product The current product.
Allows to fire an action after the getting the product prices
Params
WC_Product $product The current product.
includes/class-yith-wcrbp-price-rule-helper.php
Allows to fire an action before starting the price calculation
Params
WC_Product $product The current product in the calculation.
Allows to fire an action after the price calculation
Params
WC_Product $product The current product in the calculation.
includes/data-stores/class-yith-wcrbp-price-rule-data-store.php
Allows to fire an action after a price rule is created
Paramsstring $price_rule_id The new price rule ID.
YITH_WCRBP_Price_Rule $data The created price rule.
Allows to fire an action when a price rule is retrieved
Params
int $price_rule_id The ID of the price rule being read.
Allows to fire an action when a price rule is updated
Paramsint $id The ID of the updated price rule.
YITH_WCRBP_Price_Rule $data The updated price rule.
Allows to fire an action before a price rule is removed
Params
int $id The ID of the price rule to be deleted.
Allows to fire an action after a price rule is removed
Params
int $id The ID of the deleted price rule.