Search results for filter
231 articles found
-
autoship_qpilot_orders_update_via_rest_apply_coupons (filter)
(src/coupons.php) within the autoship_qpilot_orders_update_via_rest_apply_coupons() function. This filter can be used to disable / enable the virtual coupons functionality by order (WooCommerce
-
autoship_update_scheduled_order_{$action}_handler_call_back (filter)
( src/scheduled-orders.php) Within the autoship_update_scheduled_order_handler() function and is a dynamic filter that can be used to modify the name of the callback function for handling the
-
autoship_update_scheduled_order_handler_call_back_data (filter)
( src/scheduled-orders.php) filter is now available in the autoship_update_scheduled_order_handler() function and can be used to modify the array of data that's passed to the different action
-
autoship_payment_method_gateway_type (filter)
( src/payments.php) Within the autoship_get_payment_method_gateway_type() function and can be used to customize the default classes used by our Schedule-Options script to select various html
-
autoship_delete_tokenized_payment_method_gateway_id (filter)
( src/payments.php) Part of the function. Takes the $gateway_id, the $gateway_id_types, and the $token as parameters. Code do_action( 'autoship_delete_tokenized_payment_method_extend_gateway',
-
autoship_delete_tokenized_payment_method_extend_gateway_types (filter)
(src > payments.php) Part of the autoship_delete_tokenized_payment_method() function. Takes the gateway id types ($gateway_id_types), gateway id ($gateway_id), and token as parameters. Code
-
autoship_add_tokenized_payment_method_extend_gateway_types (filter)
(src > payments.php) Used to extend the valid Gateway IDs, and Method Types. Takes the $gatway_id_types, $gateway_id, and $token as parameters. Code $gateway_id_types =
-
autoship_add{$type}payment_method (filter)
( src > payments.php) Where $type is the QPilot payment method type and this also can be used to filter the payment method data sent to QPilot. Takes the current $payment_method_data, the (payment
-
autoship_create_scheduled_order_data (filter)
( src/orders.php) Allows developers to add or alter Scheduled Order Data before it is saved on creation or after Scheduled Order processing. It takes the $scheduled_order_data array and the
-
autoship_coupon_types_by_code (filter)
(src/coupons.php) This filter can be used to adjust how QPilot Coupon Types are converted to WooCommerce coupon types. Takes the coupon code $type (array) as a parameter. Code $codes = apply_filters(
-
autoship_add_tokenized_payment_method_gateway_id (filter)
( src/payments.php) Can be used to extend the valid Gateway IDs, and Method Types or override the gateway id. Takes the $gateway_id, $token_id, and $token as parameters. Code: $gateway_id =
-
autoship_generated_virtual_wc_coupon (filter)
( src\coupons.php) This filter can be used to adjust a virtual coupon as it is generated and perform other tasks related to that coupon. Takes the $coupon and $coupon_data as parameters. Code: return
-
autoship_add_general_payment_method (filter)
( src > payments.php) Can be used to filter the payment method data being sent to QPilot. Takes the $payment_method_data (array), (method) $type, and $token as parameters Code: $payment_method_data =
-
autoship_group_order_items_data (filter)
( src/orders.php) Used to customize the line item data when Scheduled Order(s) are created from existing WooCommerce Orders. Code $order_items = apply_filters( 'autoship_group_order_items_data',
-
autoship_recurring_price (filter)
(src/products.php) Allows developers to override the recurring price for an Autoship product. It takes the $recurring_price, $product_id, $frequency_type, & $frequency as its parameters. Filter
-
autoship_radio_label (filter)
This filter allows you to quickly modify the label for the 'One-time Purchase', 'Autoship and Save', and 'Autoship' option labels for Simple and Variable Products. The filter takes three parameters:
-
autoship_filter_schedulable_products_display_labels (filter)
( templates/scheduled-orders/order-items-form.php) used to filter the available products in the Add Product Dropdown menu displayed in My Account > Scheduled Orders on the Edit Scheduled Order
-
autoship_customer_metrics_fields_mapping (filter)
(src/customers.php) Used to filter the names of the User Metadata fields in which the metrics data is stored. Code $fields = apply_filters( 'autoship_customer_metrics_fields_mapping', array(
-
autoship_site_settings_expiration_duration (filter)
(src/admin.php) Used adjust the expiration duration used for caching the QPilot Site Settings values in the WordPress database. Code update_option( '_autoship_site_settings_expiration', time() +
-
autoship_create_scheduled_order_next_occurrence_offset (filter)
( src/orders.php) uUsed adjust the 'utcOffset' value assigned to Scheduled Orders created and upserted to QPilot Code $new_sheduled_order["utcOffset"] =
-
autoship_get_scheduled_order_customer_data (filter)
(src/orders.php) Can be used to modify the global order data ( customer info, payment info, status etc ) and takes the $scheduled_order_item_data & the (WooCommerce) $order as parameters. Example
-
autoship_checkout_supported_payment_gateway_save_method_ids (filter)
( src/checkout.php) Used to filter the id's of the save payment methods of Autoship Cloud supported payment gateways (plugins) at checkout in the checkout form. It takes an array of payment form
-
autoship_exclude_product_coupon_discounts_in_saleprice (filter)
(src/scheduled-orders.php) Can be used to disable a product's coupon-discounted price displayed in the Native UI's under the ' autoship_scheduled_order_items_form_display' hook. Default is set to
-
autoship_filter_schedulable_products_data (filter)
( src/scheduled-orders.php) Used to customize the "Add Product" dropdown menu in the Native UI. It takes $all_products (array) as its parameter. Code $all_products =
-
autoship_concat_string (filter)
( src/product-page.php) Used to modify the current 'and' separator string portion of the Autoship stings. Code apply_filters( 'autoship_concat_string', ' ' . __( 'and', 'autoship' ), $product );
-
autoship_checkout_string (filter)
(src/product-page.php) Used to modify the current 'at checkout' string portion of the Autoship strings. Code apply_filters( 'autoship_checkout_string', __( 'at checkout', 'autoship' ), $product ) );
-
autoship_price_string (filter)
(src/product-page.php) Used to modify the current price separator (':') string portion of the Autoship strings Code apply_filters( 'autoship_price_string', __( ': ', 'autoship' ), $product ), Found
-
autoship_discount_checkout_and_recurring_same (filter)
(src/product-page.php) This filter allows developers to customize the message displayed after the Autoship radio option for when there is a checkout and recurring discount and both are the same. Code
-
autoship_discount_checkout_and_recurring (filter)
(src/product-page.php) This filter allows developers to customize the message displayed after the Autoship radio option for when there is a checkout and recurring discount and both are not the same.
-
autoship_discount_recurring (filter)
(src/product-page.php) This filter allows developers to customize the message displayed after the Autoship radio option for when there is a recurring discount only. Code $output = apply_filters(
-
autoship_discount_checkout (filter)
(src/product-page.php) This filter allows developers to customize the message displayed after the Autoship radio option for when there is a checkout discount only. Code $output = apply_filters(
-
autoship_recurring_string (filter)
(src/product-page.php) Used to modify the current 'on future orders' string portion of the Autoship strings Code apply_filters( 'autoship_recurring_string', __( 'on future orders', 'autoship' ),
-
autoship_no_discount (filter)
(src/product-page.php) This filter allows developers to customize the message displayed after the Autoship radio option for when there is no checkout or recurring discount. Code $output =
-
autoship_checkout_recurring_variable_discount_string_html (filter)
(src/product-page.php) Used to modify the HTML of the Autoship checkout / recurring discount string on variable product pages. It takes the output HTML, the $product, and (Autoship) $strings as its
-
autoship_checkout_recurring_discount_string (filter)
(src/product-page.php) This filter allows developers to customize the message displayed after the Autoship radio option regardless of discount or not. Code return apply_filters(
-
autoship_frequency_label (filter)
(templates/cart/schedule-options.php) This filter allows devs to modify the label for the 'Schedule' label for the Frequency drop down menu for simple and variable products. child-theme functions.php
-
autoship_get_account_scheduled_orders_actions (filter)
(src/scheduled-orders.php) Part of the autoship_get_account_scheduled_orders_actions() function. Takes the $actions (array), $statuses (array), and the $context to apply the actions as its
-
autoship_scheduled_order_quantity_input_display (filter)
( src/scheduled-orders.php) Mimics the WooCommerce & can be used to customize the quantity input for Scheduled Order Items in the Native UI Customer Scheduled Orders display. It takes (WC quantity
-
autoship_all_prices_array (filter)
(src/products.php). It takes $prices (array), the (WooCommerce) $product_id, & the $product object as its parameters, and can be used to adjust the prices / discounts displayed to customers on your
-
autoship_rest_generated_virtual_wc_coupons (filter)
( src/coupons.php) This filter can be used to adjust the virtual coupons generated from the (QPilot) fee lines on the WC REST Order creation request. It takes $new_coupons (virtual WC coupon created
-
autoship_display_apply_customer_info_to_all_scheduled_orders_btn_link_label (filter)
( src/customers.php) Used to customize the HTML / text output of the Autoship "Click here to update your shipping address on all Scheduled Orders" html added with the
-
autoship_apply_customer_info_to_all_scheduled_order_default (filter)
(src/customers.php) Retrieves the default setting to apply to all Scheduled Orders. Takes a $user_id and $enabled (default: false). Used to choose the default behavior to apply updates to addresses
-
autoship_no_address_notice (filter)
( templates/scheduled-orders/order-address-template.php) Allows you to customize the message displayed to the customer when either a Shipping and/or Billing address is currently empty for the
-
autoship_scheduled_order_form_item_add_select_default (filter)
( templates/scheduled-orders/order-items-form.php) Used to update the default label for the 'Add a Product' dropdown menu. It takes the 'Add a Product' string as its parameter. Code echo
-
autoship_edit_scheduled_order_schedule_form_frequency_label (filter)
( templates/scheduled-orders/order-schedule-form.php) Used to change the name of the 'Schedule' label in the Native UI. It takes the 'Schedule' string as its parameter. Code <label class="<?php echo
-
autoship_enable_lock_duration_restriction (filter)
(src/schedule-orders.php) Can be used to apply or remove the lock duration (display) restrictions. The filter value is true by default. Note: This will NOT override QPilot validation restrictions for
-
autoship_checkout_price (filter)
(src/products.php) Allows developers to override the recurring price for an Autoship product. It takes the $checkout_price, $product_id, $frequency_type, & $frequency as its parameters. Example:
-
autoship_filter_saved_methods()
(src/payments.php) Takes an array of saved payment methods as an argument and returns the autoship cloud supported methods that have active payment gateways for the site. Function: /** * Returns the
-
autoship_filter_notices_for_all_orders
Can be used to show / hide notices for Scheduled Orders based on the Scheduled Order's status. Currently the failure notice / failure reason is not displayed if the associated Scheduled Order has a st
-
autoship_get_all_variation_cart_options(filter)
(src > cart.php) Allows You to filter the Autoship values for each variation on the Add To Cart in the Product Screens. The filter takes the WC Product for the variation and the variation id. Example