woocommerce_gzd_direct_debit_export_order_query_args Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_direct_debit_export_order_query_args", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_germanized_direct_debit_export_filename Filter
Filter that allows adjusting the direct debit export filename.
$filename
string The filename.$args
array The export arguments.
add_filter( "woocommerce_germanized_direct_debit_export_filename", function( $filename, $args ) { // Do something return $filename; }, 10, 2 );
woocommerce_gzd_direct_debit_sepa_xml_msg_id Filter
Filter to adjust direct debit SEPA XML message id.
$message_id
string The message id.
add_filter( "woocommerce_gzd_direct_debit_sepa_xml_msg_id", function( $message_id ) { // Do something return $message_id; }, 10, 1 );
woocommerce_gzd_direct_debit_sepa_xml_exporter Filter
Filter to adjust the direct debit SEPA XML exporter instance.
$direct_debit
\Digitick\Sepa\TransferFile\Facade\CustomerDirectDebitFacade Exporter instance.
add_filter( "woocommerce_gzd_direct_debit_sepa_xml_exporter", function( $direct_debit ) { // Do something return $direct_debit; }, 10, 1 );
woocommerce_gzd_direct_debit_sepa_xml_exporter_payment_args Filter
$param_1
array$param_2
string$param_3
string
add_filter( "woocommerce_gzd_direct_debit_sepa_xml_exporter_payment_args", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_direct_debit_sepa_xml_exporter_batch_booking Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_direct_debit_sepa_xml_exporter_batch_booking", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_direct_debit_sepa_xml_exporter_transfer_args Filter
$param_1
array$param_2
string$param_3
string
add_filter( "woocommerce_gzd_direct_debit_sepa_xml_exporter_transfer_args", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_germanized_direct_debit_purpose Filter
Filter that allows adjusting the purpose of a SEPA direct debit.
$purpose
string The SEPA purpose.$order
\WC_Order The order object.
add_filter( "woocommerce_germanized_direct_debit_purpose", function( $purpose, $order ) { // Do something return $purpose; }, 10, 2 );
woocommerce_germanized_direct_debit_mandate_id Filter
Filter to adjust the direct debit mandate id.
$id
string The mandate id.$order
bool|\WC_Order The order if available. `false` otherwise.
add_filter( "woocommerce_germanized_direct_debit_mandate_id", function( $id, $order ) { // Do something return $id; }, 10, 2 );
woocommerce_gzd_direct_debit_pre_notification_text Filter
Filter to adjust the direct debit pre notification text.
$text
string The notification text.$order
\WC_Order The order object.$debit_date
int The debit date as timestamp.
add_filter( "woocommerce_gzd_direct_debit_pre_notification_text", function( $text, $order, $debit_date ) { // Do something return $text; }, 10, 3 );
woocommerce_gzd_direct_debit_send_pre_notification Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_direct_debit_send_pre_notification", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_direct_debit_order_data_updated Action
Updated direct debit order data. Fires after Germanized has updated direct debit data for a specific order.
$order
\WC_Order The order object.$user_id
int The user id.$this
\WC_GZD_Gateway_Direct_Debit The gateway instance.
add_action( "woocommerce_gzd_direct_debit_order_data_updated", function( $order, $user_id, $this ) { // Do something }, 10, 3 );
woocommerce_gzd_direct_debit_user_data_updated Action
Updated direct debit user data. Fires after Germanized has updated direct debit data for a specific user.
$order
\WC_Order The order object.$user_id
int The user id.$this
\WC_GZD_Gateway_Direct_Debit The gateway instance.
add_action( "woocommerce_gzd_direct_debit_user_data_updated", function( $order, $user_id, $this ) { // Do something }, 10, 3 );
woocommerce_gzd_direct_debit_mandate_type_text Filter
Filter to adjust the default mandate type text.
$text
string The mandate type text.
add_filter( "woocommerce_gzd_direct_debit_mandate_type_text", function( $text ) { // Do something return $text; }, 10, 1 );
woocommerce_gzd_direct_debit_mandate_checkout_placeholders Filter
$param
string
add_filter( "woocommerce_gzd_direct_debit_mandate_checkout_placeholders", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_direct_debit_mandate_type_order_text Filter
Filter to adjust mandate type text for a certain order.
$text
string The mandate type text.$order
\WC_Order The order object.
add_filter( "woocommerce_gzd_direct_debit_mandate_type_order_text", function( $text, $order ) { // Do something return $text; }, 10, 2 );
woocommerce_gzd_direct_debit_mandate_order_placeholders Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_direct_debit_mandate_order_placeholders", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_direct_debit_mask_char Filter
$param
string
add_filter( "woocommerce_gzd_direct_debit_mask_char", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_direct_debit_mandate_text_placeholders Filter
$param
string
add_filter( "woocommerce_gzd_direct_debit_mandate_text_placeholders", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_direct_debit_mandate_text Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_direct_debit_mandate_text", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_direct_debit_form_start Action
Before direct debit checkout form. Fires before the direct debit checkout form is being rendered.
$id
string The gateway id.
add_action( "woocommerce_gzd_direct_debit_form_start", function( $id ) { // Do something }, 10, 1 );
woocommerce_gzd_direct_debit_form_end Action
After direct debit checkout form. Fires after the direct debit checkout form is being rendered.
$id
string The gateway id.
add_action( "woocommerce_gzd_direct_debit_form_end", function( $id ) { // Do something }, 10, 1 );
woocommerce_gzd_direct_debit_verify_iban_country Filter
Filter that allows enabling IBAN country validation. By enabling this option the IBAN country must match the billing country.
$enable
bool Whether to enable the check or not.
add_filter( "woocommerce_gzd_direct_debit_verify_iban_country", function( $enable ) { // Do something return $enable; }, 10, 1 );
woocommerce_gzd_direct_debit_mandate_text_checkout_fields Filter
$param
array
add_filter( "woocommerce_gzd_direct_debit_mandate_text_checkout_fields", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_direct_debit_store_fields_on_processing Filter
$param_1
bool$param_2
string
add_filter( "woocommerce_gzd_direct_debit_store_fields_on_processing", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_direct_debit_default_status Filter
$param
string
add_filter( "woocommerce_gzd_direct_debit_default_status", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_invoice_icon Filter
Filter to allow adding an icon to the invoice gateway.
$icon_url
string The icon URL.
add_filter( "woocommerce_gzd_invoice_icon", function( $icon_url ) { // Do something return $icon_url; }, 10, 1 );
woocommerce_gzd_force_activate_subscription_for_invoice_payments Filter
$param_1
bool$param_2
string
add_filter( "woocommerce_gzd_force_activate_subscription_for_invoice_payments", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_fee_supporting_gateways Filter
$param
array
add_filter( "woocommerce_gzd_fee_supporting_gateways", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_order_button_payment_gateway_text Filter
Filter to adjust the forced order submit button text per gateway. By default Woo allows gateways to adjust the submit button text. This behaviour does not comply with the button solution – that is why Germanized adds the option-based static text by default.
$button_text
string The static button text from within the options.$gateway_id
string The gateway id.
add_filter( "woocommerce_gzd_order_button_payment_gateway_text", function( $button_text, $gateway_id ) { // Do something return $button_text; }, 10, 2 );
woocommerce_gzd_payment_gateway_description Filter
Filters the gateway description in case gateway fees have been added.
$html
string The description.$gateway
\WC_Payment_Gateway The gateway instance.
add_filter( "woocommerce_gzd_payment_gateway_description", function( $html, $gateway ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_product_attribute_checkout_visible_default_value Filter
This filter is documented in includes/class-wc-gzd-product-attribute.php
$param
bool
add_filter( "woocommerce_gzd_product_attribute_checkout_visible_default_value", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_enable_rating_authenticity_notices Filter
$param
string
add_filter( "woocommerce_gzd_enable_rating_authenticity_notices", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_checkout_use_legacy_table_replacement_template Filter
$param
string
add_filter( "woocommerce_gzd_checkout_use_legacy_table_replacement_template", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_disable_wc_privacy_policy_checkbox Filter
Filter to turn on Woo default privacy checkbox in checkout. Germanized disables the default WooCommerce privacy checkbox to replace it with it’s own data privacy checkbox instead.
$enable
bool Set to `false` to re-enable Woo default privacy checkbox.
add_filter( "woocommerce_gzd_disable_wc_privacy_policy_checkbox", function( $enable ) { // Do something return $enable; }, 10, 1 );
wc_gzd_frontend_hook_priority Filter
$param_1
string$param_2
string$param_3
string
add_filter( "wc_gzd_frontend_hook_priority", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_hook_priority_cache_duration Filter
$param
string
add_filter( "woocommerce_gzd_hook_priority_cache_duration", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_order_min_age Filter
Filters the minimum age required for a certain order.
$min_age
int|bool The minimum age for an order. False if not available.$order_id
int The order id
add_filter( "woocommerce_gzd_order_min_age", function( $min_age, $order_id ) { // Do something return $min_age; }, 10, 2 );
woocommerce_gzd_revocation_show_privacy_notice_checkbox Filter
$param
bool
add_filter( "woocommerce_gzd_revocation_show_privacy_notice_checkbox", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_revocation_privacy_notice_label Filter
Filter to adjust the privacy field label for revocation form.
$html
string The label.
add_filter( "woocommerce_gzd_revocation_privacy_notice_label", function( $html ) { // Do something return $html; }, 10, 1 );
woocommerce_gzd_revocation_fields Filter
$param
string
add_filter( "woocommerce_gzd_revocation_fields", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_legal_checkbox_core_ids Filter
Filter that returns the core checkbox ids.
$checkbox_ids
array Array containg checkbox ids.
add_filter( "woocommerce_gzd_legal_checkbox_core_ids", function( $checkbox_ids ) { // Do something return $checkbox_ids; }, 10, 1 );
woocommerce_gzd_direct_debit_ajax_url Filter
Filter to adjust the direct debit mandate link.
$link
string The link.
add_filter( "woocommerce_gzd_direct_debit_ajax_url", function( $link ) { // Do something return $link; }, 10, 1 );
woocommerce_gzd_register_legal_core_checkboxes Action
After core checkbox registration. Fires after Germanized has registered it’s core legal checkboxes. Might be used to register additional checkboxes. „`php function ex_after_register_checkboxes( $manager ) { wc_gzd_register_legal_checkbox( array() ); } add_action( ‚woocommerce_gzd_register_legal_core_checkboxes‘, ‚ex_after_register_checkboxes‘, 10, 1 ); „`
$this
\WC_GZD_Legal_Checkbox_Manager The legal checkbox manager instance.
add_action( "woocommerce_gzd_register_legal_core_checkboxes", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_checkbox_show_conditionally_{$location}_args Filter
Filter to adjust conditional arguments passed to checkboxes based on certain locations. The dynamic portion of the hook name, `$location` refers to the checkbox location, e.g. checkout or pay_for_order.
$checkbox_args
array Arguments to be passed.$checkbox
\WC_GZD_Legal_Checkbox Checkbox object.$checkbox_id
string The checkbox id.$instance
\WC_GZD_Legal_Checkbox_Manager The checkbox manager instance.$context
string The checkbox context
woocommerce_gzd_register_legal_checkboxes Action
Before legal checkbox registration. Register legal checkboxes and populate settings.
$this
\WC_GZD_Legal_Checkbox_Manager The checkboxes manager instance.
add_action( "woocommerce_gzd_register_legal_checkboxes", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_registered_legal_checkboxes Action
After legal checkbox registration. Fires after the registration is completed. Might be used to alter settings and registered checkboxes.
$this
\WC_GZD_Legal_Checkbox_Manager The checkboxes manager instance.
add_action( "woocommerce_gzd_registered_legal_checkboxes", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_legal_checkbox_locations Filter
Filter to add/remove legal checkbox locations.
$locations
array Key => value array containing location id and title.
add_filter( "woocommerce_gzd_legal_checkbox_locations", function( $locations ) { // Do something return $locations; }, 10, 1 );
woocommerce_gzd_register_legal_checkbox_args Filter
Filter legal checkbox arguments before registering.
$args
array Arguments passed to register checkbox.$id
int Checkbox id.
add_filter( "woocommerce_gzd_register_legal_checkbox_args", function( $args, $id ) { // Do something return $args; }, 10, 2 );
woocommerce_gzd_legal_checkbox_classname Filter
Filter to adjust default checkbox classname. Defaults to `WC_GZD_Legal_Checkbox`.
$classname
string The name of the checkbox classname.
add_filter( "woocommerce_gzd_legal_checkbox_classname", function( $classname ) { // Do something return $classname; }, 10, 1 );
woocommerce_gzd_checkbox_is_logged Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_checkbox_is_logged", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );