miniCal Filters
List of supported Actions/Filters Hooks
Last updated
List of supported Actions/Filters Hooks
Last updated
Filters are functions that always accept data in the form of an Argument and, after processing again, return the data as Return Value. The filter itself means the process of filtering something out. Just like the do_action, here we have the apply_filters() function.
So, now the $filtered_value will be the system-generated output until you add a filter on it. In order, add the filter you need to call add_filter() just like the add_action(). Below is the example :
Customer Filters List
METHOD | NAME | PARAMETERS | USE CASE |
---|---|---|---|
Payment Source Filters List
METHOD | NAME | PARAMETERS | USE CASE |
---|---|---|---|
apply_filters
post.add.customer
$data
After the creation of new customer
apply_filters
post.update.customer
$data
After updating a customer
apply_filters
post.create.payment_source
$data
After the creation of customer's new payment source
apply_filters
post.update.payment_source
$data
After updating a customer's payment source
apply_filters
post.delete.payment_source
$data
After deleting a customer's payment source