Autoship Cloud for WooCommerce Subscription Products 2.18.2 has 198 actions and 653 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Autoship Cloud for WooCommerce Subscription Products fires an action
add_action( 'autoship_before_autoship_admin_reports', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Autoship Cloud for WooCommerce Subscription Products is about to use
add_filter( 'autoship_product_summary_metabox_notice', function( $_, $arg2, $autoship_summary, $product ) {
// Change $_ here.
return $_;
}, 10, 4 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
Changes by version
2.18.1 → 2.18.2 · Nov 19, 2026 · 6 added, 0 removed
Added
- filter
autoship_site_url_guard_enabled - filter
autoship_site_url_guard_mode - action
autoship_qpilot_storefront_refused - filter
autoship_qpilot_request_headers - filter
autoship_qpilot_request_block_reason - action
autoship_oauth2_disconnected
All hooks
-
/** * The Product Summary Metabox for Simple Products */ apply_filters( 'autoship_product_summary_metabox_notice', __( 'This product is currently <strong>Not Active</strong> and therefore changes made in WooCommerce will not be synchronized with Autoship Cloud. To Activate this product check the <i>Activate Product Sync</i> checkbox on the Autoship tab.', 'autoship' ), 'not-active', $autoship_summary, $product ); -
/** * This template is used to display the Autoship Cloud Reports in the admin * area. */ do_action( 'autoship_before_autoship_admin_reports' ); -
/** * The Main Cart Schedule Options Template */ apply_filters( 'autoship_product_schedule_options_select_skin', array( 'container' => '', 'type' => '', 'label' => '', 'input' => '', 'span' => '', 'frequency' => '', 'select' => '', ) ); -
/** * This action is documented in src/api.php */ do_action( 'autoship_qpilot_storefront_refused' ); -
/** * Post Scheduled Orders Order Row Hook. */ do_action( 'autoship_after_autoship_scheduled_orders_template_row', $autoship_order, $customer_id, $autoship_customer_id ); -
/** * Post Scheduled Order Details form hook. */ do_action( 'autoship_after_scheduled_order_edit', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Post Scheduled Order Details Lock hook. */ do_action( 'autoship_after_scheduled_order_lock', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Post Scheduled Order Details View hook. */ do_action( 'autoship_after_scheduled_order_view', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * This template is used to display the Autoship Cloud logs in the admin area. */ do_action( 'autoship_before_autoship_admin_logs' ); -
/** * Pre Scheduled Order Details form hook. */ do_action( 'autoship_before_scheduled_order_edit', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Pre Scheduled Order Details Lock hook. */ do_action( 'autoship_before_scheduled_order_lock', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Pre Scheduled Order Details view hook. */ do_action( 'autoship_before_scheduled_order_view', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Filter whether Autoship is allowed to prune its own log files. */ apply_filters( 'autoship_clean_logger_files', $can ); -
/** * Filters the source sent to QPilot for the current request. */ apply_filters( 'autoship_client_request_source', $merchant ? self::MERCHANT : self::CUSTOMER ); -
/** * Filters whether the V2 Subscriber Portal bundle is enqueued for the current * request. */ apply_filters( 'autoship_is_v2_portal_page', $is_portal_page ); -
/** * Fires after the log cleanup sweep runs. */ do_action( 'autoship_log_cleanup_sweep_complete', $deleted ); -
/** * Filter the log cleanup sweep interval. */ apply_filters( 'autoship_log_cleanup_sweep_interval', self::DEFAULT_INTERVAL ); -
/** * Filter the Autoship log retention window in days. */ apply_filters( 'autoship_log_retention_days', $days ); -
/** * Fires once the QPilot credentials have been removed from this store. */ do_action( 'autoship_oauth2_disconnected' ); -
/** * Filters the array of row meta for each plugin in the Autoship Extension * Plugins list table. */ apply_filters( 'autoship_plugin_row_meta', $plugin_meta, $plugin_data ); -
/** * The Main Product Autoship Info Dialog Template */ apply_filters( 'autoship_powered_by_credits', '<p class="autoship-credits"><a href="https://autoship.cloud/?utm_source=AutoshipCloudPlugin&utm_medium=PoweredByLink&utm_campaign=Autoship_Cloud_Plugin" target="_blank" rel="nofollow" >Autoship powered by <img src="' . Autoship_Plugin_Url . '/images/qpilot.svg" class="qpilot"/></a></p>' ); -
/** * The Main Product Schedule Variation Options Template */ apply_filters( 'autoship_product_schedule_options_variable_select_skin', array( 'container' => '', 'type' => '', 'label' => '', 'input' => '', 'span' => '', 'frequency' => '', 'select' => '', ) ); -
/** * Fires after confirmation cleanup runs. */ do_action( 'autoship_quicklink_confirmation_cleanup_complete', $deleted, $retention_days ); -
/** * Filter the confirmation cleanup interval. */ apply_filters( 'autoship_quicklink_confirmation_cleanup_interval', self::DEFAULT_INTERVAL ); -
/** * Filter the confirmation cleanup retention period. */ apply_filters( 'autoship_quicklink_confirmation_retention_days', self::DEFAULT_RETENTION_DAYS ); -
/** * Filters the URL a customer is sent to when a QuickLink needs a sign-in. */ apply_filters( 'autoship_quicklink_login_url', $url, $return_url ); -
/** * Scheduled Order Details form hook. */ do_action( 'autoship_scheduled_order_edit', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Scheduled Order Details Lock hook. */ do_action( 'autoship_scheduled_order_lock', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Scheduled Order Details View hook. */ do_action( 'autoship_scheduled_order_view', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
/** * Allow devs to modify item changes on the fly. */ apply_filters( 'autoship_update_schedule_items_changes', $updated_autoship_order_items, $original_autoship_order_items, $order_id, 'autoship_update_schedule_items', $data ); -
/** * Allow devs to modify item changes on the fly. */ apply_filters( 'autoship_update_schedule_new_items_changes', $new_autoship_order_items, $order_id, 'autoship_update_schedule_items', $data ); -
/** * Filter the number of upsell products should on the product page. */ apply_filters( 'autoship_upsells_total', $args['posts_per_page'] ); -
apply_filters( 'autoship_scheduled_order_display_template', $template, $customer_id, $autoship_customer_id, $autoship_order_id ); -
apply_filters( 'autoship_scheduled_order_api_action_excemption_handler', $notice, $e, $order_id ); -
apply_filters( 'autoship_display_customer_update_actions', true, get_current_user_id() ); -
do_action( 'autoship_log', 'warning', $message, array( 'source' => 'quicklinks.token_cipher' ) ); -
apply_filters( 'autoship_payment_method_sandbox_metadata_field_ext', '', $test_ext, 'authorize_net_cim_credit_card' ); -
apply_filters( 'autoship_radio_label', autoship_translate_text( 'Autoship and Save', true ), 'yes', true, $product ); -
apply_filters( 'autoship_order_created_via', array( 'checkout', 'store-api', ) ); -
apply_filters( 'autoship_payment_method_sandbox_metadata_field_test_ext', '_test', 'authorize_net_cim_credit_card' ); -
autoship_bulk_update_scheduled_orders_wholesale_pricing_enable_apply_only
filter Copy link Customise this hookapply_filters( 'autoship_bulk_update_scheduled_orders_wholesale_pricing_enable_apply_only', false ); -
apply_filters( 'autoship_default_product_schedule_options_choice_value', 'no', $product ); -
apply_filters( 'autoship_frequency_cart_order_item_schedule_display_label', __( 'Schedule', 'autoship' ), $name, $item ); -
apply_filters( 'autoship_add_item_via_ajax_msg_html', sprintf( '<div class="autoship-msg woocommerce-%1s">%2s</div>', 'error', $notice_content ), 'error', $notice_content ); -
apply_filters( 'autoship_add_item_via_ajax_msg_html_target', '.scheduled-order-add-ons-msg', 'error' ); -
autoship_apply_payment_method_to_all_scheduled_orders_row_action
filter Copy link Customise this hookapply_filters( 'autoship_apply_payment_method_to_all_scheduled_orders_row_action', array( 'url' => $apply_url, 'name' => apply_filters( 'autoship_update_orders_icon_action', '' ), ), $apply_url, $payment_token, $list_item ); -
apply_filters( 'autoship_filter_wholesale_price_requirement_failure_notice', $notice, $result->get_requirements()->get_minimum_order_items(), $result->get_requirements()->get_minimum_order_price(), $item_total, $items_total_price, $user_wholesale_role ); -
autoship_frequency_cart_order_item_next_occurence_display_date_value
filter Copy link Customise this hookapply_filters( 'autoship_frequency_cart_order_item_next_occurence_display_date_value', __( $formatted_date, 'autoship' ), $product_id ); -
autoship_frequency_cart_order_item_next_occurence_display_label
filter Copy link Customise this hookapply_filters( 'autoship_frequency_cart_order_item_next_occurence_display_label', __( 'Next Order', 'autoship' ), $formatted_date, $product_id ); -
apply_filters( 'autoship_frequency_label', __( 'Schedule', 'autoship' ), $product ); -
apply_filters( 'autoship_orders_notice_message', isset( $autoship_order['scheduledOrderFailureReason'] ) ? $autoship_order['scheduledOrderFailureReason'] : '', $autoship_order ); -
apply_filters( 'autoship_payment_method_tokenization', WC_Payment_Tokens::get( $autoship_method_id ), $autoship_method_id, $autoship_method_type ); -
apply_filters( 'autoship_product_cache_object_name', 'autoship_product_cache' ); -
apply_filters( 'autoship_product_frequency_display_name', $frequency_display_name, $product_id ); -
apply_filters( 'autoship_product_summary_data_sync_error', $products[ $summary->id ]['SyncError'], $products[ $summary->id ], $summary, $wc_product, $summary->id ); -
apply_filters( 'autoship_snooze_frequencies', $this->options_provider->get_options() ); -
apply_filters( 'autoship_update_orders_icon_action', '' ); -
autoship_{$display_price_target_type}_product_discount_price_html
filter Copy link Customise this hookapply_filters( "autoship_{$display_price_target_type}_product_discount_price_html", $display_price, $discounted_display_price, $product ); -
apply_filters( 'autoship_add_item_via_ajax_failure_msg', __( 'Error Adding Product Due to Invalid Call.', 'autoship' ), 400, '' ); -
apply_filters( 'autoship_add_tokenized_payment_method_gateway_id', $token->get_gateway_id(), $token_id, $token ); -
apply_filters( 'autoship_admin_retain_and_grow_tabs', $tabs ); -
apply_filters( 'autoship_admin_settings_default_tab', key( $tabs ) ); -
do_action( "autoship_after_{$action}_handler_failure", $order_id, $action, $data, $result ); -
do_action( 'autoship_after_autoship_admin_reports' ); -
do_action( 'autoship_after_autoship_admin_retain_and_grow' ); -
do_action( 'autoship_after_autoship_scheduled_orders', $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_update_scheduled_order_schedule', $autoship_order, $customer_id, $autoship_customer_id ); -
autoship_apply_payment_method_to_all_scheduled_orders_non_standard_row
filter Copy link Customise this hookapply_filters( 'autoship_apply_payment_method_to_all_scheduled_orders_non_standard_row', $list_item, $payment_token, $instance ); -
do_action( 'autoship_before_autoship_admin_retain_and_grow' ); -
do_action( 'autoship_before_autoship_scheduled_orders', $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_edit_scheduled_order_schedule_form', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_scheduled_order_form_item_name', $item, $scheduled_item, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_braintree_paypal_payment_method_description', sprintf( 'Paypal for %s', $email ) ); -
apply_filters( 'autoship_bulk_update_scheduled_orders_wholesale_pricing_args', array( 'pageSize' => 1, 'statusNames' => array( 'Paused', 'Active', ), ), array() ); -
apply_filters( 'autoship_calculate_schedule_product_wholesale_price', trim( $prices['wholesale_price'] ), $product_id, $user_wholesale_role ); -
apply_filters( 'autoship_cloud_subpage_security', 'administrator', 'quicklaunch' ); -
apply_filters( 'autoship_confirm_delete_schedule_link_label', sprintf( __( '<span class="action-request">Are you sure you want to Delete %1$s #%2$d?</span> <a class="confirm-action" href="%3$s">Confirm</a> or <a class="cancel-action" href="%4$s">Cancel</a>', 'autoship' ), $scheduled_order_label, $wp->query_vars['scheduled-order'], $url, $cancel ), $scheduled_order_label, $url, $cancel, $wp->query_vars['scheduled-order'], $wp->query_vars['delete-scheduled-... ); -
apply_filters( 'autoship_create_scheduled_order_endpoint_item', array( 'productId' => $value->id, 'price' => $prices['regular_price'], 'salePrice' => $prices['autoship_recurring_price'], 'quantity' => $link['products'][ $value->id ], ), $link ); -
apply_filters( 'autoship_create_scheduled_order_item_product_price', $item_price, $frequency_type, $frequency, $product ); -
apply_filters( 'autoship_create_scheduled_order_item_product_sale_price', $item_recurring_price, $frequency_type, $frequency, $product ); -
apply_filters( 'autoship_dialog_info_tooltip_min_browser_width', 1024 ); -
autoship_display_apply_customer_info_to_all_scheduled_orders_checkbox_default
filter Copy link Customise this hookapply_filters( 'autoship_display_apply_customer_info_to_all_scheduled_orders_checkbox_default', 0, get_current_user_id() ); -
apply_filters( 'autoship_display_save_payment_method_at_checkout', is_checkout() ); -
apply_filters( 'autoship_edit_scheduled_order_action_button_skin', array( 'action_btn' => 'button autoship-action-btn', ) ); -
autoship_filter_wholesale_price_min_quantity_and_min_subtotel_requirement_failure_notice
filter Copy link Customise this hookapply_filters( 'autoship_filter_wholesale_price_min_quantity_and_min_subtotel_requirement_failure_notice', array( 'type' => 'notice', 'message' => $message, ), $item_total, $minimum_order_items, $items_total_price, $minimum_order_price, array() ); -
autoship_filter_wholesale_price_min_quantity_requirement_failure_notice
filter Copy link Customise this hookapply_filters( 'autoship_filter_wholesale_price_min_quantity_requirement_failure_notice', array( 'type' => 'notice', 'message' => $message, ), $item_total, $minimum_order_items, $items_total_price, $minimum_order_price, array() ); -
autoship_filter_wholesale_price_min_subtotel_requirement_failure_notice
filter Copy link Customise this hookapply_filters( 'autoship_filter_wholesale_price_min_subtotel_requirement_failure_notice', array( 'type' => 'notice', 'message' => $message, ), $item_total, $minimum_order_items, $items_total_price, $minimum_order_price, array() ); -
apply_filters( 'autoship_get_mapped_product_length_unit', get_option( 'woocommerce_dimension_unit' ), $wc_product ); -
apply_filters( 'autoship_get_mapped_product_weight_unit', get_option( 'woocommerce_weight_unit' ), $wc_product ); -
apply_filters( 'autoship_get_user_wholesale_role', $wwp_roles->getUserWholesaleRole( $wp_user ), $wp_user ); -
apply_filters( 'autoship_is_qpilot_snooze_flag_enabled', true, $flags ); -
apply_filters( 'autoship_no_address_notice', __( '<strong><em>No Billing Address Assigned</em></strong>', 'autoship' ), 'billing', $autoship_order ); -
do_action( 'autoship_no_product_summary_metabox_table', $autoship_summary, $product ); -
apply_filters( 'autoship_override_simple_frequency_options_default', get_post_meta( $id, '_autoship_override_frequency_options', true ), $id ); -
apply_filters( 'autoship_override_variable_frequency_options_default', $variation_data['_autoship_override_frequency_options'], $variation->ID ); -
apply_filters( 'autoship_plugin_template', Autoship_Plugin_Dir . '/templates/' . $template . '.php', $template, $vars ); -
apply_filters( 'autoship_populate_products_dashboard_icon_tooltip', wp_kses_post( implode( "\n", $tooltip ) ), $tooltip, $product ); -
apply_filters( 'autoship_populate_products_dashboard_icon_tooltip_components', $tooltip, $product ); -
apply_filters( 'autoship_product_dropdown_get_price_range', $new_dropdown, $dropdown, $new_item, $prices, $product->get_id() ); -
do_action( 'autoship_push_product_404_missing_variable_parent', $product, $product->get_parent_id() ); -
apply_filters( 'autoship_qpilot_request_block_reason', '', $method, $url ); -
apply_filters( 'autoship_qpilot_request_headers', $headers, $this->api_url, 'ANY' ); -
apply_filters( 'autoship_qpilot_statuscheck_permission_check', $allowed, $request ); -
apply_filters( 'autoship_relative_next_occurrence_types', array( 'Days' => __( 'Days', 'autoship' ), 'Weeks' => __( 'Weeks', 'autoship' ), 'Months' => __( 'Months', 'autoship' ), 'DayOfTheWeek' => __( 'Day of the week', 'autoship' ), 'DayOfTheMonth' => __( 'Day of the month', 'autoship' ), ) ); -
apply_filters( 'autoship_scheduled_order_edit_schedule_form_action_label', __( 'Update Schedule', 'autoship' ) ); -
autoship_scheduled_order_edit_shipping_address_form_action_label
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_order_edit_shipping_address_form_action_label', __( 'Update Schedule', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_form_add_item_name_display', $item['name'], $item, $product ); -
apply_filters( 'autoship_scheduled_order_form_item_exclude_out_of_cycle', true, $autoship_order ); -
apply_filters( 'autoship_scheduled_order_form_item_name_display', $item['name'], $item, $scheduled_item ); -
apply_filters( 'autoship_scheduled_order_items_form_coupon_button_text', __( 'Apply coupon', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_items_form_skin', array( 'form' => '', 'table' => 'shop_table shop_table_responsive cart woocommerce-cart-form__contents', 'table_head' => '', 'table_head_row' => '', 'table_head_cell' => '', 'table_body' => '', 'table_row' => 'woocommerce-cart-form__cart-item', 'table_cell' => '', 'table_row_placeholder' => 'scheduled-order-add-ons-placeholder', 'table_row_addon' => '', 'table_cell_addon' => '', 'table_row_coup... ); -
apply_filters( 'autoship_scheduled_order_items_form_update_items_button_text', __( 'Update Items', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_status_display', $status_translated_name, $autoship_order, $status_nicename ); -
apply_filters( 'autoship_scheduled_order_view_item_name_display', $item['name'], $item, $scheduled_item ); -
apply_filters( 'autoship_scheduled_orders_display_actions_filter', $actions, $autoship_order, $customer_id, array() ); -
apply_filters( 'autoship_scheduled_orders_settings', array( 'customer_id' => $qpilot_customer->id, 'bearer_token_auth' => $access_token->tokenBearerAuth, 'api_url' => autoship_get_api_url(), 'site_customer_id' => $site_customer_id, 'site_ajax_url' => admin_url( '/admin-ajax.php' ), 'site_id' => autoship_get_site_id(), 'site_currency' => get_woocommerce_currency(), ) ); -
autoship_scheduled_orders_template_display_no_rights_redirect_template
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_orders_template_display_no_rights_redirect_template', 'scheduled-orders/order-error-template', $customer_id ); -
apply_filters( 'autoship_site_order_settings_cache_object_name', 'autoship_site_order_settings_cache' ); -
apply_filters( 'autoship_snooze_frequency_source', $source ); -
apply_filters( 'autoship_theme_template', get_stylesheet_directory() . '/' . Autoship_Plugin_Folder_Name . '/templates/' . $template . '.php', $template, $vars ); -
autoship_update_customer_info_on_all_scheduled_orders_failure_notice
filter Copy link Customise this hookapply_filters( 'autoship_update_customer_info_on_all_scheduled_orders_failure_notice', array( 'message' => $message, 'code' => 'error', ), $wc_customer_id ); -
apply_filters( 'autoship_update_schedule_items_wholesale_price', null, $autoship[ $key ], $updated_items[ $key ], $user_wholesale_role ); -
apply_filters( 'autoship_update_scheduled_order_action_nonce_verification', wp_verify_nonce( $nonce, $action ) ); -
do_action( 'autoship_update_scheduled_order_schedule_actions', $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_upsells_columns', $args['columns'] ); -
apply_filters( 'autoship_valid_payment_method_ids', array( 'authorize_net_cim_credit_card' => 'authorize_net', 'cybersource_credit_card' => 'cybersource_cc', 'stripe' => 'stripe', 'stripe_sepa' => 'stripe_sepa', 'stripe_sepa_debit' => 'stripe_sepa_debit', 'trustcommerce' => 'trustcommerce', 'autoship-test-gateway' => 'test_gateway', 'ppec_paypal' => 'ppec', 'braintree_credit_card' => 'braintree', 'braintree_paypal' => 'braintree_paypal', 'cybers... ); -
apply_filters( 'autoship_view_scheduled_order_template_classes', 'autoship-scheduled-order-view-template' . ( empty( $autoship_order['scheduledOrderItems'] ) ? ' empty-order' : '' ), $autoship_order ); -
autoship_wholesale_pricing_extensions_bulk_update_scheduled_orders_wholesale_pricing_args
filter Copy link Customise this hookapply_filters( 'autoship_wholesale_pricing_extensions_bulk_update_scheduled_orders_wholesale_pricing_args', array( 'pageSize' => $args['batch_size'], 'statusNames' => $args['statuses'], ), $args ); -
apply_filters( 'autoship_wholesale_scheduled_discount_percentage', $percentage, $product_id, $user_wholesale_role ); -
apply_filters( 'autoship-api-url', 'https://api.qpilot.cloud' ); -
apply_filters( 'autoship-merchants-url', 'https://merchants.qpilot.cloud' ); -
apply_filters( 'cybersource_cc_payment_method_sandbox_metadata_field_test_ext', '_test', 'cybersource_credit_card' ); -
apply_filters( 'the_content', autoship_get_scheduled_orders_html() ); -
apply_filters( 'wwp_filter_wholesale_price_title_text', __( 'Wholesale Price:', 'woocommerce-wholesale-prices' ) ); -
do_action( "{$args['batch_action']}_complete", $results, $args ); -
apply_filters( 'autopship_scheduled_order_quantity_input_inputmode', 'intval' ); -
apply_filters( 'autopship_scheduled_order_quantity_input_max', - 1, $product ); -
apply_filters( 'autopship_scheduled_order_quantity_input_min', 0, $product ); -
apply_filters( 'autopship_scheduled_order_quantity_input_pattern', '[0-9]*' ); -
apply_filters( 'autopship_scheduled_order_quantity_input_step', 1, $product ); -
apply_filters( "autoship_{$action}_endpoint_quary_vars_defaults", $link_args ); -
autoship_{$display_price_target_type}_product_discount_price_html_enabled
filter Copy link Customise this hookapply_filters( "autoship_{$display_price_target_type}_product_discount_price_html_enabled", $display_price_enable, $product ); -
autoship_{$display_price_target_type}_product_discount_price_html_selector
filter Copy link Customise this hookapply_filters( "autoship_{$display_price_target_type}_product_discount_price_html_selector", $selector, $product ); -
do_action( "autoship_{$extension_name}_plugin_row_additional_content", $extension_name, $plugin_meta, $plugin_data ); -
apply_filters( 'autoship_account_add_endpoint_masks', EP_ROOT | EP_PAGES, $key, $endpoint ); -
apply_filters( "autoship_add_{$type}_payment_method", $payment_method_data, $type, $token ); -
apply_filters( 'autoship_add_general_payment_method', $payment_method_data, $type, $token ); -
apply_filters( 'autoship_add_general_payment_method_description', $token->get_display_name(), $token ); -
apply_filters( 'autoship_add_item_via_ajax_success_msg', sprintf( __( 'Click Update Items to Save your %s and see your new total amount.', 'autoship' ), $label ), 200, $product ); -
do_action( 'autoship_add_to_next_order_no_order_found', $link, $customer_id ); -
apply_filters( 'autoship_add_to_next_order_notice', $notice, $link, $customer_id ); -
apply_filters( 'autoship_add_to_next_order_notice_url', $redirect, $notice['notice_type'], $link, $customer_id ); -
apply_filters( 'autoship_add_to_scheduled_order_endpoint', 'add-to-scheduled-order' === $action, $action ); -
apply_filters( 'autoship_add_to_scheduled_order_endpoint_redirect_validation', isset( $wp_query->query_vars['scheduled-orders'] ) && is_account_page() && isset( $_GET['action'] ) && ! empty( $_GET['action'] ) ); -
apply_filters( 'autoship_add_to_scheduled_order_endpoint_valid_products_params', array( 'productIds' => $products ), $link ); -
apply_filters( 'autoship_add_to_scheduled_order_link_coupon_base_price', $line['price'], $line['salePrice'], $line, $link ); -
apply_filters( 'autoship_add_to_scheduled_order_link_invalid', __( 'The supplied link is no longer valid or has expired.', 'autoship' ), $link ); -
apply_filters( 'autoship_add_to_scheduled_order_link_invalid_coupon', __( 'The supplied discount link is no longer valid or has expired.', 'autoship' ), $link ); -
apply_filters( 'autoship_add_to_scheduled_order_link_values', $link, $products ); -
apply_filters( 'autoship_add_tokenized_payment_method', false, $token ); -
do_action( 'autoship_add_tokenized_payment_method_extend_gateway', $gateway_id, $gateway_id_types, $token ); -
apply_filters( 'autoship_add_tokenized_payment_method_extend_gateway_types', $this->type_registry->get_standard_gateway_types(), $gateway_id, $token ); -
apply_filters( 'autoship_admin_products_default_tab', key( $tabs ) ); -
apply_filters( 'autoship_admin_products_tabs', $tabs ); -
apply_filters( 'autoship_admin_reports_default_tab', key( $tabs ) ); -
apply_filters( 'autoship_admin_settings_tab_include_submit', true, $active_tab ); -
apply_filters( 'autoship_admin_settings_tabs', $tabs ); -
autoship_after_{$action}_get_autoship_get_available_products_failure
action Copy link Customise this hookdo_action( "autoship_after_{$action}_get_autoship_get_available_products_failure", $all_products ); -
do_action( "autoship_after_{$action}_handler_success", $order_id, $action, $data ); -
do_action( 'autoship_after_admin_products_header', $selected_item, $tabs ); -
do_action( 'autoship_after_admin_reports_header', $active_tab, $tabs ); -
do_action( 'autoship_after_admin_retain_and_grow_header', $selected_item, $tabs ); -
do_action( 'autoship_after_admin_settings_header', $autoship_settings, $active_tab, $tabs ); -
do_action( 'autoship_after_all_products_autoship_activate_sync_bulk_action', $post_ids, $action, $redirect_url ); -
autoship_after_all_products_autoship_deactivate_sync_bulk_action
action Copy link Customise this hookdo_action( 'autoship_after_all_products_autoship_deactivate_sync_bulk_action', $post_ids, $action, $redirect_url ); -
do_action( 'autoship_after_autoship_admin_customers' ); -
do_action( 'autoship_after_autoship_admin_dashboard' ); -
do_action( 'autoship_after_autoship_admin_logs' ); -
do_action( 'autoship_after_autoship_admin_maps' ); -
do_action( 'autoship_after_autoship_admin_payment_integrations' ); -
do_action( 'autoship_after_autoship_admin_products' ); -
do_action( 'autoship_after_autoship_admin_scheduled_orders' ); -
do_action( 'autoship_after_autoship_admin_shipping_rates' ); -
do_action( 'autoship_after_autoship_admin_utilities', $query_ids, $notice ); -
do_action( 'autoship_after_autoship_scheduled_order_payment_method_summary', $autoship_order, $customer_id, $autoship_customer_id ); -
autoship_after_autoship_scheduled_order_payment_method_summary_content
action Copy link Customise this hookdo_action( 'autoship_after_autoship_scheduled_order_payment_method_summary_content', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_autoship_scheduled_order_summary', $autoship_order['status'], $autoship_order ); -
do_action( 'autoship_after_autoship_scheduled_orders_template', $customer_id, $autoship_customer_id, $autoship_orders ); -
do_action( 'autoship_after_cart_schedule_options', $product, $frequency_type, $frequency, $next_occurrence, $cart_item, $autoship_selected ); -
do_action( 'autoship_after_cart_schedule_radio_options', $product, $frequency_type, $frequency, $next_occurrence, $cart_item, $autoship_selected ); -
do_action( 'autoship_after_delete_product', $id ); -
do_action( 'autoship_after_handler_success', $order_id, $action, $data ); -
do_action( 'autoship_after_print_product_custom_fields', $_product ); -
do_action( 'autoship_after_print_product_custom_frequency_option_fields', $_product ); -
do_action( 'autoship_after_print_product_custom_order_settings_fields', $_product ); -
do_action( 'autoship_after_print_product_custom_price_fields', $_product ); -
do_action( 'autoship_after_print_variable_product_custom_fields', $loop, $variation_data, $variation ); -
do_action( 'autoship_after_print_variable_product_custom_fields_group', $loop, $variation_data, $variation ); -
autoship_after_print_variable_product_custom_order_settings_fields
action Copy link Customise this hookdo_action( 'autoship_after_print_variable_product_custom_order_settings_fields', $loop, $variation_data, $variation ); -
do_action( 'autoship_after_print_variable_product_custom_price_fields', $loop, $variation_data, $variation ); -
do_action( 'autoship_after_product_summary_metabox_table', $autoship_summary, $product ); -
do_action( 'autoship_after_push_product', $product ); -
do_action( 'autoship_after_quicklinks_settings' ); -
do_action( 'autoship_after_schedule_info_dialog', $options ); -
do_action( 'autoship_after_schedule_options', $product, $prices, $skin, $default_check ); -
do_action( 'autoship_after_schedule_options_template', $product ); -
do_action( 'autoship_after_schedule_options_variable', $product, $skin, $default_check ); -
do_action( 'autoship_after_schedule_options_variable_template', $product ); -
do_action( 'autoship_after_schedule_order_address_summary', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_schedule_order_error', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
do_action( 'autoship_after_schedule_order_header', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_schedule_orders_error', $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_schedule_radio_options', $product, $prices, $skin, $default_check ); -
do_action( 'autoship_after_schedule_radio_options_variable', $product, $skin, $default_check ); -
do_action( 'autoship_after_scheduled_order_edit_payment_form_action', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_scheduled_order_edit_payment_form_input', $autoship_order, $customer_id, $autoship_customer_id ); -
autoship_after_scheduled_order_edit_preferred_shipping_rate_form_input
action Copy link Customise this hookdo_action( 'autoship_after_scheduled_order_edit_preferred_shipping_rate_form_input', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_scheduled_order_form_add_item_name', array( $item['sku'], $item['meta'] ), $product ); -
do_action( 'autoship_after_scheduled_order_form_add_ons', $autoship_order, $customer_id, $autoship_customer_id, $order_items ); -
do_action( 'autoship_after_scheduled_order_form_item', $autoship_order, $skin ); -
do_action( 'autoship_after_scheduled_order_form_item_name', $item, $scheduled_item, $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_scheduled_order_form_items', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_scheduled_order_form_table', $autoship_order, $customer_id, $autoship_customer_id, $order_items ); -
do_action( "autoship_after_scheduled_order_total_{$key}_row", $totals, $autoship_order, $customer_id ); -
do_action( 'autoship_after_scheduled_order_total_rows', $totals, $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_scheduled_order_totals_table', $totals, $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_scheduled_order_view_item_columns', $item, $scheduled_item, $autoship_order ); -
do_action( 'autoship_after_scheduled_order_view_item_name', $item, $scheduled_item, $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_after_scheduled_order_view_items', $autoship_order, $customer_id, $autoship_customer_id, $order_items ); -
do_action( 'autoship_after_scheduled_order_view_table', $autoship_order, $customer_id, $autoship_customer_id, $order_items ); -
do_action( 'autoship_after_update_product_activate', $enable, $exclude_ids ); -
do_action( 'autoship_after_update_product_availability', $product ); -
do_action( 'autoship_after_update_schedule_items_handler_nochange', $order_id, 'autoship_update_schedule_items', $data ); -
autoship_after_update_scheduled_order_payment_method_handler_nochange
action Copy link Customise this hookdo_action( 'autoship_after_update_scheduled_order_payment_method_handler_nochange', $order_id, $action, $data ); -
autoship_after_update_scheduled_order_preferred_shipping_rate_form_action
action Copy link Customise this hookdo_action( 'autoship_after_update_scheduled_order_preferred_shipping_rate_form_action', $autoship_order, $customer_id, $autoship_customer_id ); -
autoship_after_update_scheduled_order_schedule_handler_nochange
action Copy link Customise this hookdo_action( 'autoship_after_update_scheduled_order_schedule_handler_nochange', $order_id, $action, $data ); -
autoship_after_update_scheduled_order_shipping_address_handler_nochange
action Copy link Customise this hookdo_action( 'autoship_after_update_scheduled_order_shipping_address_handler_nochange', $order_id, $action, $data ); -
do_action( "autoship_ajax_remove_scheduled_order_item_{$success_action}", $autoship_order_id, $item_id ); -
apply_filters( 'autoship_all_prices_array', $prices, $product_id, $product ); -
apply_filters( 'autoship_all_products_admin_summary_metabox_notice', sprintf( __( '<p>1 or more products activated for Autoship Cloud have become invalid. Please visit <a href="%1$s"><strong>Autoship Cloud Products</strong></a> to resolve this.</p>' ), $products_report_url ), $summary_data, $products ); -
do_action( 'autoship_all_products_admin_summary_metabox_notice', $status, $summary_data, $products ); -
apply_filters( 'autoship_all_products_bulk_actions', $options ); -
apply_filters( 'autoship_all_products_summary_data_row', array( 'Id' => $summary->id, 'ProductName' => $summary->productName, 'AddToScheduledOrder' => false !== $summary->addToScheduledOrder, 'ProcessScheduledOrder' => false !== $summary->processScheduledOrder, 'Availability' => $availability, 'ProductType' => $summary->productType, 'StockLevel' => $summary->availability, 'TotalStock' => $summary->stock, 'QuantityScheduled' => $summary->totalQuantity... ); -
apply_filters( 'autoship_allow_added_products', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_allow_coupon_on_order', autoship_allow_coupons(), $order_id, $data ); -
apply_filters( 'autoship_api_create_payment_method_data', $payment_method_data ); -
apply_filters( 'autoship_api_error_code_mapping', $error_codes, $code ); -
apply_filters( 'autoship_api_error_codes', $error_codes ); -
do_action( 'autoship_api_site_created', $site ); -
autoship_apply_customer_info_to_all_scheduled_order_default_action_notice
filter Copy link Customise this hookapply_filters( 'autoship_apply_customer_info_to_all_scheduled_order_default_action_notice', array( 'message' => $message, 'code' => 'success', ), $wc_customer_id ); -
autoship_apply_payment_method_to_all_scheduled_orders_default_action_notice
filter Copy link Customise this hookapply_filters( 'autoship_apply_payment_method_to_all_scheduled_orders_default_action_notice', array( 'message' => $message, 'code' => 'success', ), $token_id, $gateway_id, $name ); -
apply_filters( 'autoship_apply_payment_method_to_all_scheduled_orders_row', $list_item, $payment_token ); -
apply_filters( 'autoship_apply_to_scheduled_orders_by_default', false, $wc_customer_id ); -
apply_filters( 'autoship_auto_generate_not_found_customers', ! empty( $action ), $action, $id ); -
autoship_batch_update_product_checkout_base_{$args['base_price']}price
filter Copy link Customise this hookapply_filters( "autoship_batch_update_product_checkout_base_{$args['base_price']}price", floatval( $product->get_regular_price() ), $args, $product ); -
apply_filters( 'autoship_batch_update_product_checkout_price_calculation', round( floatval( $args['base_price_val'] - ( $args['base_price_val'] * $args['checkout_pct'] ) ), 2 ), $args, $product ); -
autoship_batch_update_product_recurring_base_{$args['base_price']}price
filter Copy link Customise this hookapply_filters( "autoship_batch_update_product_recurring_base_{$args['base_price']}price", floatval( $product->get_regular_price() ), $args, $product ); -
apply_filters( 'autoship_batch_update_product_recurring_price_calculation', round( floatval( $args['base_price_val'] - ( $args['base_price_val'] * $args['recurring_pct'] ) ), 2 ), $args, $product ); -
apply_filters( "autoship_batch_update_products_{$args['batch_action']}_args", $args ); -
apply_filters( 'autoship_batch_update_products_actions', array( 'autoship_bulk_update_checkout_price' => 'autoship_batch_update_product_checkout', 'autoship_bulk_update_recurring_price' => 'autoship_batch_update_product_recurring', 'autoship_bulk_update_enable_autoship' => 'autoship_batch_update_product_enable_autoship', 'autoship_bulk_update_enable_availability' => 'autoship_batch_update_product_enable_availability', 'autoship_bulk_update_active_syn... ); -
do_action( 'autoship_before_autoship_admin_customers' ); -
do_action( 'autoship_before_autoship_admin_dashboard' ); -
do_action( 'autoship_before_autoship_admin_maps' ); -
do_action( 'autoship_before_autoship_admin_payment_integrations' ); -
do_action( 'autoship_before_autoship_admin_products' ); -
do_action( 'autoship_before_autoship_admin_scheduled_orders' ); -
do_action( 'autoship_before_autoship_admin_shipping_rates' ); -
do_action( 'autoship_before_autoship_admin_utilities' ); -
autoship_before_autoship_scheduled_order_payment_method_summary_content
action Copy link Customise this hookdo_action( 'autoship_before_autoship_scheduled_order_payment_method_summary_content', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_autoship_scheduled_order_summary', $autoship_order['status'], $autoship_order ); -
do_action( 'autoship_before_autoship_scheduled_orders_template', $customer_id, $autoship_customer_id, $autoship_orders ); -
do_action( 'autoship_before_cart_schedule_options', $product, $frequency_type, $frequency, $next_occurrence, $cart_item, $autoship_selected ); -
do_action( 'autoship_before_log_entry', $context, $message ); -
do_action( 'autoship_before_print_product_custom_frequency_option_fields', $_product ); -
do_action( 'autoship_before_print_product_custom_price_fields', $_product ); -
do_action( 'autoship_before_print_variable_product_custom_price_fields', $loop, $variation_data, $variation ); -
do_action( 'autoship_before_product_summary_metabox_table', $autoship_summary, $product ); -
do_action( 'autoship_before_quicklinks_settings' ); -
do_action( 'autoship_before_schedule_info_dialog', $options ); -
do_action( 'autoship_before_schedule_options', $product, $prices, $skin, $default_check ); -
do_action( 'autoship_before_schedule_options_variable', $product, $skin, $default_check ); -
do_action( 'autoship_before_schedule_order_address_summary', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_schedule_order_error', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
do_action( 'autoship_before_schedule_order_header', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_schedule_orders_error', $autoship_orders, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_scheduled_order_edit_payment_form', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_scheduled_order_edit_payment_form_action', $autoship_order, $customer_id, $autoship_customer_id ); -
autoship_before_scheduled_order_edit_preferred_shipping_rate_form
action Copy link Customise this hookdo_action( 'autoship_before_scheduled_order_edit_preferred_shipping_rate_form', $autoship_order, $customer_id, $autoship_customer_id ); -
autoship_before_scheduled_order_edit_preferred_shipping_rate_form_action
action Copy link Customise this hookdo_action( 'autoship_before_scheduled_order_edit_preferred_shipping_rate_form_action', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_scheduled_order_edit_table', $autoship_order ); -
do_action( 'autoship_before_scheduled_order_form_items', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( "autoship_before_scheduled_order_total_{$key}_row", $totals, $autoship_order, $customer_id ); -
do_action( 'autoship_before_scheduled_order_total_rows', $totals, $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_scheduled_order_totals_table', $totals, $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_scheduled_order_view_item_columns', $item, $scheduled_item, $autoship_order ); -
do_action( 'autoship_before_scheduled_order_view_items', $skin, $autoship_order ); -
do_action( 'autoship_before_scheduled_order_view_table', $autoship_order ); -
do_action( 'autoship_before_update_scheduled_order_address_form', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_update_scheduled_order_handler', $order_id, $action, $data ); -
do_action( 'autoship_before_update_scheduled_order_payment', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_update_scheduled_order_preferred_shipping_rate', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_before_update_scheduled_order_schedule_form', $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_braintree_paypal_descriptor_flag', 'PayPal', $payment_method ); -
apply_filters( 'autoship_calculate_non_standard_relative_next_occurrence_date', false, $value, $option, $basedate ); -
apply_filters( 'autoship_calculate_relative_next_occurrence_date', $date, $product_id, $frequency_type, $frequency ); -
apply_filters( 'autoship_calculate_relative_next_occurrence_date_from_basedate', new DateTime(), $relative_nod, $relative_nod_type, $product_id, $frequency_type, $frequency ); -
apply_filters( 'autoship_cart_item_keys', array( 'autoship_frequency', 'autoship_frequency_type', 'autoship_next_occurrence', 'autoship_preferred_shipping', ) ); -
apply_filters( 'autoship_cart_item_relative_next_occurrence_is_stale', true, $product_id, $next_occurrence ); -
apply_filters( 'autoship_cart_item_scheduled_options_defaults', array( 'frequency' => '', 'frequency_type' => '', 'next_occurrence' => '', ), $cart_item, $product ); -
apply_filters( 'autoship_cart_next_occurrence_format', 'Y-m-d' ); -
apply_filters( 'autoship_checkout_percent_discount', $percent_discount, $product, $prices ); -
apply_filters( 'autoship_checkout_price', $checkout_price, $product_id, $frequency_type, $frequency ); -
apply_filters( 'autoship_checkout_recurring_discount_string', $output, $strings, $prices, $product ); -
apply_filters( 'autoship_checkout_recurring_variable_discount_string_html', ob_get_clean(), $product, $strings ); -
apply_filters( 'autoship_checkout_string', __( 'at checkout', 'autoship' ), $product ); -
apply_filters( 'autoship_checkout_supported_payment_gateway_save_method_ids', array( 'wc-stripe-new-payment-method', 'wc-authorize-net-cim-credit-card-tokenize-payment-method', 'wc-braintree-credit-card-tokenize-payment-method', 'wc-braintree-paypal-tokenize-payment-method', 'wc-cyber-source-tokenize-payment-method', 'wc-nmi-gateway-woocommerce-credit-card-new-payment-method', 'wc-sagepaymentsusaapi-new-payment-method', 'trustcommerce-save-card', 'wc-square-credit-card-t... ); -
apply_filters( 'autoship_checkout_supported_payment_gateway_save_method_names', array( 'wc-fkwcs_stripe-new-payment-method', ) ); -
apply_filters( 'autoship_clear_orders_cache_handler_object', array(), $autoship_order_cache ); -
apply_filters( 'autoship_cloud_main_page_security', 'administrator' ); -
apply_filters( 'autoship_concat_string', ' ' . __( 'and', 'autoship' ), $product ); -
apply_filters( "autoship_confirm_delete_schedule_notice_{$view}_html_wrapper", $notice, $scheduled_order ); -
apply_filters( 'autoship_confirm_delete_schedule_notice_html_target', 'orders' === $view ? '#row-' . $scheduled_order : '.schedule-summary', $view, $scheduled_order ); -
apply_filters( 'autoship_confirm_delete_schedule_notice_html_wrapper_target', 'orders' === $view ? 'tr.autoship-notice-row' : '.autoship-notice-block', $view, $scheduled_order ); -
apply_filters( 'autoship_confirm_delete_via_ajax_msg_html', $notice_content, 'alert', $notice, $view, $scheduled_order ); -
apply_filters( 'autoship_confirm_delete_via_ajax_msg_html_target', $notice_target, $notice, $view, $scheduled_order ); -
apply_filters( 'autoship_coupon_types_by_code', array( 'ReduceSubtotalByPercentage' => 'percent', 'ReduceSubtotalByAmount' => 'fixed_cart', 'ReduceShippingByAmount' => 'fixed_shipping', 'SetShippingToAmount' => 'set_shipping', 'ReduceProductPriceByPercentage' => 'percent', 'ReduceProductPriceByAmount' => 'fixed_product', 'ReduceShippingByPercentage' => 'percent_shipping', ) ); -
apply_filters( 'autoship_create_coupon_default_data', $coupon_data ); -
apply_filters( 'autoship_create_scheduled_order_assign_customer_info', $customer_data, $defaults, $customer_id ); -
apply_filters( 'autoship_create_scheduled_order_assign_payment_info', $payment_data, $defaults, $customer_id ); -
apply_filters( 'autoship_create_scheduled_order_assign_payment_method_default', empty( $payment_methods ) ? null : $payment_methods[0], $payment_methods, $customer_id, $defaults ); -
do_action( 'autoship_create_scheduled_order_by_link_success', $result, $link, $customer_id ); -
apply_filters( 'autoship_create_scheduled_order_data', $scheduled_order_data, $order_id ); -
apply_filters( 'autoship_create_scheduled_order_default_order_data', $order_data, $customer_id ); -
apply_filters( 'autoship_create_scheduled_order_default_status', 'Active', $order ); -
apply_filters( 'autoship_create_scheduled_order_endpoint', 'create-scheduled-order' === $action, $action ); -
apply_filters( 'autoship_create_scheduled_order_endpoint_order_args', $args, $link ); -
apply_filters( 'autoship_create_scheduled_order_endpoint_redirect_validation', isset( $wp_query->query_vars['scheduled-orders'] ) && is_account_page() && isset( $_GET['action'] ) && ! empty( $_GET['action'] ) ); -
apply_filters( 'autoship_create_scheduled_order_endpoint_valid_products_params', array( 'productIds' => array_keys( $link['products'] ) ), $link ); -
apply_filters( 'autoship_create_scheduled_order_external_id', ! $order ? $extension : 'wc-' . $order->get_id() . $extension, $order, $extension ); -
do_action( 'autoship_create_scheduled_order_failed', $link, $customer_id ); -
do_action( 'autoship_create_scheduled_order_failure', $scheduled_order, $order_id ); -
apply_filters( 'autoship_create_scheduled_order_item_data', array( 'quantity' => $qty, 'scheduledOrderId' => $order_id, 'productId' => $product_id, 'price' => $item_price, 'salePrice' => $item_recurring_price, ), $frequency_type, $frequency, $product_id, $external_id ); -
apply_filters( 'autoship_create_scheduled_order_item_price', floatval( $prices['regular_price'] ), $frequency_type, $frequency, $product_id, $external_id ); -
apply_filters( 'autoship_create_scheduled_order_item_product_data', $scheduled_order_item_product_data, $frequency_type, $frequency, $product_id, $external_id ); -
apply_filters( 'autoship_create_scheduled_order_item_sale_price', isset( $prices['autoship_recurring_price'] ) ? floatval( $prices['autoship_recurring_price'] ) : null, $frequency_type, $frequency, $product_id, $external_id ); -
apply_filters( 'autoship_create_scheduled_order_link_invalid', __( 'The supplied link is no longer valid or has expired.', 'autoship' ), $link ); -
apply_filters( 'autoship_create_scheduled_order_next_occurrence', $next_occurrence, $frequency_group['frequency_type'], $frequency_group['frequency'], $creation_date, $order ); -
apply_filters( 'autoship_create_scheduled_order_next_occurrence_offset', autoship_get_local_timezone_offset(), $new_sheduled_order['nextOccurrenceUtc'], $frequency_group['frequency_type'], $frequency_group['frequency'], $creation_date, $order ); -
do_action( 'autoship_create_scheduled_order_success', $scheduled_order, $order_id ); -
apply_filters( 'autoship_create_scheduled_order_url_notice', $notice, $link, $customer_id ); -
apply_filters( 'autoship_create_scheduled_order_url_redirect', $redirect, $notice['notice_type'], $link, $customer_id ); -
apply_filters( 'autoship_create_scheduled_orders_assign_scheduled_items', $scheduled_order_items, $items, $customer_id ); -
apply_filters( 'autoship_create_scheduled_orders_data', $order_data, $customer_id ); -
apply_filters( 'autoship_create_scheduled_orders_default_status', 'Active', $order_data, $customer_id ); -
do_action( 'autoship_create_scheduled_orders_failure', $scheduled_order_ids, $order_id, $error ); -
do_action( 'autoship_create_scheduled_orders_success', $scheduled_order_ids, $order_id, $scheduled_orders ); -
apply_filters( 'autoship_create_update_autoship_customer', $customer_data, $wc_customer ); -
apply_filters( 'autoship_custom_core_metafields', array( '_autoship_checkout_price' => array( 'default' => '', 'inherit' => false, ), '_autoship_recurring_price' => array( 'default' => '', 'inherit' => false, ), '_autoship_sync_active_enabled' => array( 'default' => '', 'inherit' => true, ), '_autoship_schedule_order_enabled' => array( 'default' => '', 'inherit' => false, ), '_autoship_schedule_process_enabled' => array( 'default' => '', 'inhe... ); -
apply_filters( 'autoship_custom_frequency_override_count', Autoship_Options_Count ); -
apply_filters( 'autoship_custom_frequency_override_metafields', $frequency_overrides ); -
apply_filters( 'autoship_customer_has_scheduled_order_filter', array( 'frequency' => null, 'frequency_type' => null, ), $wc_customer_id ); -
apply_filters( 'autoship_customer_metrics_fields_mapping', array( 'customerCreatedDateUTC' => 'autoship_customer_created_date_utc', 'firstScheduledOrderCreatedUTC' => 'autoship_first_scheduled_order_created_utc', 'totalScheduledOrdersActive' => 'autoship_total_scheduled_orders_active', 'totalScheduledOrdersActiveValue' => 'autoship_total_scheduled_orders_active_value', 'totalScheduledOrdersPaused' => 'autoship_total_scheduled_orders_paused', 'totalSche... ); -
apply_filters( 'autoship_customer_upsert_data', $customer_data ); -
do_action( 'autoship_customer_user_metrics_refreshed', $user_id, $results->data ); -
autoship_customer_view_order_header_attribution_maybe_scheduled_order
action Copy link Customise this hookdo_action( 'autoship_customer_view_order_header_attribution_maybe_scheduled_order', $external_data, $order ); -
apply_filters( 'autoship_day_of_week_index', array( 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', ) ); -
apply_filters( 'autoship_default_client_token_scope', 'merchant' ); -
apply_filters( 'autoship_default_frequency_option_count', Autoship_Options_Count ); -
apply_filters( 'autoship_default_shipping_address_form_fields', $base_fields, $defaults ); -
apply_filters( 'autoship_default_template_data', array( 'cartBtn' => '.add_to_cart_button', 'yesBtn' => '.autoship-yes-radio', 'noBtn' => '.autoship-no-radio', 'optionsCls' => '.autoship-schedule-options', 'discountPriceCls' => '.autoship-percent-discount', 'checkoutPriceCls' => '.autoship-checkout-price', 'discountStringCls' => '.autoship-custom-percent-discount-str', 'frequencyCls' => '.autoship-frequency', 'frequencySelectCls' => '.autoshi... ); -
apply_filters( "autoship_delete_{$type}_payment_method_qpilot_match", $valid, $type, $token, $method ); -
apply_filters( 'autoship_delete_general_payment_method_qpilot_match', $valid, $type, $token, $method ); -
apply_filters( 'autoship_delete_scheduled_order_action_nonce_verification', wp_verify_nonce( $nonce, 'autoship-delete-scheduled-order' ) ); -
apply_filters( 'autoship_delete_scheduled_order_endpoint', 'delete-scheduled-order-confirm' ); -
apply_filters( 'autoship_delete_scheduled_order_via_ajax_failure_msg', __( sprintf( 'Error %s Due to Invalid Call.', autoship_translate_text( 'Scheduled Order' ) ), 'autoship' ), 400, '' ); -
apply_filters( 'autoship_delete_scheduled_order_via_ajax_msg_html', sprintf( '<div class="autoship-msg woocommerce-%1s">%2s</div>', 'error', $notice_content ), 'error', $notice_content ); -
apply_filters( 'autoship_delete_scheduled_order_via_ajax_msg_html_target', '.scheduled-order-add-ons-msg', 'error' ); -
do_action( 'autoship_delete_tokenized_payment_method_extend_gateway', $gateway_id, $gateway_id_types, $token ); -
apply_filters( 'autoship_delete_tokenized_payment_method_extend_gateway_types', $this->type_registry->get_standard_gateway_types(), $gateway_id, $token ); -
apply_filters( 'autoship_delete_tokenized_payment_method_gateway_id', $token->get_gateway_id(), $token ); -
apply_filters( 'autoship_disable_admin_health_checks', false ); -
apply_filters( 'autoship_disable_schedule_order_options_default', $variation_data['_autoship_dissable_schedule_order_options'], $variation->ID ); -
apply_filters( 'autoship_disable_schedule_order_options_in_cart', autoship_disable_schedule_order_options( $product_id ), $cart_item, $cart_item_key ); -
apply_filters( 'autoship_disable_shipping_rate_selection_action', ! isset( $autoship_order['lock_data'] ) || empty( $autoship_order['lock_data'] ) || $autoship_order['lock_data']['locked'], $rate, $autoship_order, $customer_id ); -
apply_filters( 'autoship_discount_checkout', $output, $strings, $prices, $product ); -
apply_filters( 'autoship_discount_checkout_and_recurring', $output, $strings, $prices, $product ); -
apply_filters( 'autoship_discount_checkout_and_recurring_same', $output, $strings, $prices, $product ); -
apply_filters( 'autoship_discount_recurring', $output, $strings, $prices, $product ); -
apply_filters( 'autoship_discount_strings_components', $strings, $prices, $product ); -
apply_filters( 'autoship_discounted_price', $prices['discount'], $product, $prices ); -
apply_filters( 'autoship_display_all_products_sync_admin_notice', false ); -
autoship_display_apply_customer_info_to_all_scheduled_orders_btn_label
filter Copy link Customise this hookapply_filters( 'autoship_display_apply_customer_info_to_all_scheduled_orders_btn_label', ob_get_clean(), $url, $notice ); -
autoship_display_apply_customer_info_to_all_scheduled_orders_btn_link_label
filter Copy link Customise this hookapply_filters( 'autoship_display_apply_customer_info_to_all_scheduled_orders_btn_link_label', wp_kses_post( sprintf( __( 'Click <a href="%1$s">here</a> to update your shipping address on all %2$s', 'autoship' ), $url, autoship_translate_text( 'Scheduled Orders' ) ) ), $url ); -
autoship_display_apply_customer_info_to_all_scheduled_orders_checkbox
filter Copy link Customise this hookapply_filters( 'autoship_display_apply_customer_info_to_all_scheduled_orders_checkbox', ob_get_clean(), apply_filters( 'autoship_display_apply_customer_info_to_all_scheduled_orders_checkbox_default', 0, get_current_user_id() ) ); -
autoship_display_apply_customer_info_to_all_scheduled_orders_checkbox_label
filter Copy link Customise this hookapply_filters( 'autoship_display_apply_customer_info_to_all_scheduled_orders_checkbox_label', sprintf( __( 'Update the Shipping Address for all my %s', 'autoship' ), $schedule_label ) ); -
apply_filters( 'autoship_display_apply_method_to_all_scheduled_orders_note', sprintf( __( '<p><strong><i class="autoship_update_all_orders"></i></strong> Select to apply the payment method to your %s.</p>', 'autoship' ), $schedule_label ) ); -
apply_filters( 'autoship_display_edit_product_sync_admin_notice', ! $active || ! $valid, $product ); -
apply_filters( 'autoship_display_edit_product_sync_metabox_notice', ! $active, $product ); -
apply_filters( 'autoship_display_edit_schedule_form_actions_on_empty_order', false, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_display_info_dialog', 'none' === $options['autoship_product_info_display'] || $empty ); -
apply_filters( 'autoship_edit_product_display_template', 'admin/' . $params['args']['template'], $product ); -
apply_filters( 'autoship_edit_scheduled_order_add_item_class', 'scheduled_order_add_item scheduled_order_item', $item, $product ); -
apply_filters( 'autoship_edit_scheduled_order_address_form_classes', 'autoship-scheduled-order-edit-form autoship-edit-scheduled-order-shipping-address-form', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_edit_scheduled_order_address_form_tag' ); -
apply_filters( 'autoship_edit_scheduled_order_endpoint', 'scheduled-order' ); -
apply_filters( 'autoship_edit_scheduled_order_form_classes', 'autoship-scheduled-order-edit-form' . ( empty( $autoship_order['scheduledOrderItems'] ) ? ' empty-order' : '' ), $autoship_order ); -
do_action( 'autoship_edit_scheduled_order_form_tag' ); -
apply_filters( 'autoship_edit_scheduled_order_forms_classes', 'autoship-scheduled-order-template', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
apply_filters( 'autoship_edit_scheduled_order_item_class', 'scheduled_order_item', $item, $scheduled_item ); -
apply_filters( 'autoship_edit_scheduled_order_items_table_classes', 'autoship-scheduled-order-items-table' ); -
do_action( 'autoship_edit_scheduled_order_payment_form_tag' ); -
do_action( 'autoship_edit_scheduled_order_preferred_shipping_rate_form_tag' ); -
apply_filters( 'autoship_edit_scheduled_order_schedule_form_classes', 'autoship-scheduled-order-edit-form autoship-edit-scheduled-order-schedule-form', $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_edit_scheduled_order_schedule_form_frequency_label', __( 'Schedule', 'autoship' ) ); -
do_action( 'autoship_edit_scheduled_order_schedule_form_tag' ); -
apply_filters( 'autoship_editable_order_statuses', array( 'Active', 'Paused' ) ); -
apply_filters( 'autoship_enable_lock_duration_restriction', true ); -
apply_filters( 'autoship_enable_wc_tax_settings_for_prices_display_default', true ); -
apply_filters( 'autoship_exclude_payment_method_form_on_empty_order', empty( $autoship_order['scheduledOrderItems'] ), $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_exclude_payment_method_summary_on_empty_order', empty( $autoship_order['scheduledOrderItems'] ), $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_exclude_product_coupon_discounts_in_saleprice', false ); -
apply_filters( "autoship_exclude_scheduled_order_{$key}_zero_total", true ); -
apply_filters( 'autoship_expand_sync_invalid_product_code_mapping', $error_codes, $code ); -
apply_filters( 'autoship_export_directory_path', $paths[ $type ] . '/autoship-cloud-exports/' ); -
apply_filters( 'autoship_extend_gateway_id_types', array( 'trustcommerce' => 'TrustCommerce', 'cybersource_credit_card' => 'CyberSource', 'link' => 'Stripe', 'stripe' => 'Stripe', 'stripe_sepa' => 'Stripe', 'stripe_sepa_debit' => 'Stripe', 'cybersource' => 'CyberSource', 'nmi_gateway_woocommerce_credit_card' => 'Nmi', 'sagepaymentsusaapi' => 'PayaV1', 'sagepaydirect' => 'Sage', 'wc_checkout_com_cards' => 'Checkout', 'nmi' => 'Nmi', 'airwallex_c... ); -
apply_filters( 'autoship_file_name_handle', strtolower( get_bloginfo( 'title' ) ) ); -
apply_filters( 'autoship_filter_notices_for_all_orders', ( 'Active' === $status || 'Pending' === $status ) ? '' : $notice, $status, $notice ); -
apply_filters( 'autoship_filter_recurring_price', $autoship_price, $product, $prices ); -
apply_filters( 'autoship_filter_retrieved_scheduled_orders', $all_orders, $order_ids, $customer_id ); -
apply_filters( 'autoship_filter_schedulable_products_data', $all_products ); -
apply_filters( 'autoship_filter_schedulable_products_data_should_skip', false, $product ); -
apply_filters( 'autoship_filter_schedulable_products_display_labels', array(), $products, $autoship_order, $customer_id ); -
apply_filters( 'autoship_filter_schedulable_products_query_args', $products_args ); -
apply_filters( 'autoship_filter_schedulable_products_use_wc_data', $use_wc_data ); -
apply_filters( 'autoship_filter_schedulable_variation_products_query_args', array( 'status' => 'publish', 'limit' => '-1', '_autoship_schedule_order_enabled' => 'yes', '_autoship_sync_active_enabled' => 'yes', '_autoship_dissable_schedule_order_options' => 'yes', 'stock_status' => 'instock', 'type' => array( 'variation' ), ) ); -
apply_filters( 'autoship_formatted_order_display_totals', $new_totals ); -
apply_filters( 'autoship_formatted_order_display_totals_default_values', array( 'subtotal' => array( 'label' => __( 'Subtotal', 'autoship' ), 'value' => 0, ), 'shipping_total' => array( 'label' => __( 'Shipping Total', 'autoship' ), 'value' => 0, ), 'tax_total' => array( 'label' => __( 'Tax', 'autoship' ), 'value' => 0, ), 'discount_total' => array( 'label' => __( 'Discount', 'autoship' ), 'value' => 0, ), 'total' => array( 'label' => __( 'Total', 'autoship' ), 'val... ); -
apply_filters( 'autoship_formatted_order_display_totals_html_label', $total['label'], $key, $autoship_order ); -
apply_filters( 'autoship_formatted_scheduled_order_addresses', $address, $type ); -
apply_filters( 'autoship_frequency_cart_order_item_schedule_display', "<p>{$label}: {$product_frequency_display_name}</p>", $label, $product_frequency_display_name, $name, $item ); -
autoship_frequency_cart_order_item_schedule_next_occurrence_display
filter Copy link Customise this hookapply_filters( 'autoship_frequency_cart_order_item_schedule_next_occurrence_display', "<p>{$datelabel}: {$date}</p>", $datelabel, $date, $product_frequency_display_name, $name, $item ); -
apply_filters( 'autoship_frequency_display_name', $display_name, $frequency_type, $frequency ); -
apply_filters( 'autoship_generated_customer_billing_data', array_merge( array( 'billingFirstName' => $wc_customer->get_billing_first_name(), 'billingLastName' => $wc_customer->get_billing_last_name(), 'billingStreet1' => $wc_customer->get_billing_address_1(), 'billingStreet2' => $wc_customer->get_billing_address_2(), 'billingCity' => $wc_customer->get_billing_city(), 'billingState' => $wc_customer->get_billing_state(), 'billingPostcode' => $wc_customer... ); -
apply_filters( 'autoship_generated_customer_data', array_merge( array( 'id' => strval( $wc_customer->get_id() ), 'email' => $wc_customer->get_email(), 'firstName' => $wc_customer->get_first_name(), 'lastName' => $wc_customer->get_last_name(), ), $customer_data ), $wc_customer, $customer_data ); -
apply_filters( 'autoship_generated_customer_shipping_data', array_merge( array( 'shippingFirstName' => $wc_customer->get_shipping_first_name(), 'shippingLastName' => $wc_customer->get_shipping_last_name(), 'shippingStreet1' => $wc_customer->get_shipping_address_1(), 'shippingStreet2' => $wc_customer->get_shipping_address_2(), 'shippingCity' => $wc_customer->get_shipping_city(), 'shippingState' => $wc_customer->get_shipping_state(), 'shippingPostcode' =>... ); -
apply_filters( 'autoship_generated_scheduled_order_updated_shipping_data', array( 'shippingFirstName' => $autoship_order['shippingFirstName'], 'shippingLastName' => $autoship_order['shippingLastName'], 'shippingStreet1' => $autoship_order['shippingStreet1'], 'shippingStreet2' => $autoship_order['shippingStreet2'], 'shippingCity' => $autoship_order['shippingCity'], 'shippingPostcode' => $autoship_order['shippingPostcode'], 'shippingState' => $autoship_order['shippingSt... ); -
apply_filters( 'autoship_generated_virtual_wc_coupon', $coupon, $coupon_data ); -
apply_filters( 'autoship_get_account_scheduled_orders_actions', $actions, $status, $context ); -
apply_filters( 'autoship_get_add_to_scheduled_order_url_params', $params, $args ); -
apply_filters( 'autoship_get_all_valid_order_change_frequencies', autoship_default_frequency_options(), $autoship_order ); -
apply_filters( 'autoship_get_all_valid_order_create_frequencies', autoship_default_frequency_options(), $customer_id, $order_data ); -
apply_filters( 'autoship_get_all_variation_cart_options', $data, $variation['variation_id'], $new_product ); -
apply_filters( 'autoship_get_available_scheduled_order_shipping_rates', array( 'available_rates' => $rates, 'default_rate' => $default, 'preferred_rate' => $autoship_order['preferredShippingRateOption'], ), $autoship_order ); -
apply_filters( 'autoship_get_calculated_scheduled_order_totals', $totals, $scheduled_order, $scheduled_items ); -
apply_filters( 'autoship_get_create_scheduled_order_url_params', $params, $args ); -
apply_filters( 'autoship_get_customer_scheduled_orders', $orders, $customer_id ); -
apply_filters( 'autoship_get_endpoint_url', $url, $endpoint, $value, $permalink ); -
apply_filters( 'autoship_get_formatted_amount', autoship_get_formatted_price( $amount, $args ), $amount, $args ); -
apply_filters( 'autoship_get_formatted_price', $formatted_price, $price, $args ); -
apply_filters( 'autoship_get_mapped_stocklevel', array( 'outofstock' => 'OutOfStock', 'onbackorder' => 'InStock', 'instock' => 'InStock', ) ); -
apply_filters( 'autoship_get_next_available_date', autoship_get_formatted_local_date( $date, $format ) ); -
apply_filters( 'autoship_get_next_available_nextoccurrence', autoship_get_formatted_local_date( $date, $format ), $autoship_order ); -
apply_filters( 'autoship_get_order_cache_handler_object', isset( $autoship_order_cache[ $key ] ) ? $autoship_order_cache[ $key ] : '', $autoship_order_cache, $key ); -
apply_filters( 'autoship_get_original_wc_product_validation', $og, $wc_product_id, $sku, $og_product ); -
apply_filters( 'autoship_get_product_cache_handler_object', ( false === $autoship_product_cache ) ? '' : $autoship_product_cache, $autoship_product_cache ); -
apply_filters( 'autoship_get_product_thumbnail_html', '<img width="100%" height="100%" src="' . $url . '" />', $url ); -
apply_filters( 'autoship_get_products_by_ids_default_batch_size', 5 ); -
apply_filters( 'autoship_get_remote_products_search_params', array( 'availability' => 1, 'active' => 'true', ) ); -
apply_filters( 'autoship_get_scheduled_order_customer_data', $scheduled_order_data, $order ); -
apply_filters( 'autoship_get_scheduled_order_data_full_item_data', $scheduled_order_item_data, $order->get_id(), $item, $frequency_group['frequency_type'], $frequency_group['frequency'] ); -
apply_filters( 'autoship_get_scheduled_order_item_product_data', $scheduled_order_item_data, $frequency_type, $frequency ); -
apply_filters( 'autoship_get_scheduled_order_payment_data', isset( $payment_data ) ? autoship_generate_customer_billing_data( $order->get_user_id(), array( 'customerId' => $order->get_user_id(), 'description' => $payment_data->description, 'type' => $payment_data->type, 'expiration' => $payment_data->expiration, 'lastFourDigits' => $payment_data->last_four, 'gatewayCustomerId' => $payment_data->gateway_customer_id, 'gatewayPaymentId' => $payment_data->g... ); -
apply_filters( 'autoship_get_scheduled_order_status_nicenames', $nicenames ); -
apply_filters( 'autoship_get_scheduled_order_substatus_nicenames', array( \Autoship\Domain\SubStatus\ScheduledOrderSubStatus::AWAITING_PAYMENT_AUTHENTICATION => __( 'Awaiting payment authentication', 'autoship' ), ) ); -
apply_filters( 'autoship_get_scheduled_order_url', autoship_get_endpoint_url( 'scheduled-order', $scheduled_order_id, wc_get_page_permalink( 'myaccount' ) ), $scheduled_order_id ); -
apply_filters( 'autoship_get_scheduled_order_variation_item_name_parts', array( 'name' => $new_name, 'meta' => $variation, ), $name ); -
apply_filters( 'autoship_get_scheduled_orders_url', autoship_get_endpoint_url( 'scheduled-orders', $customer_id, wc_get_page_permalink( 'myaccount' ) ), $customer_id ); -
apply_filters( "autoship_get_setting_{$field}_default_init", false ); -
apply_filters( 'autoship_get_settings_fields_values_init', $single ? current( $values ) : $values ); -
apply_filters( 'autoship_get_update_scheduled_orders_customer_info_url', autoship_get_endpoint_url( 'update-scheduled-orders-customer-info', $wc_customer_id, wc_get_page_permalink( 'myaccount' ) ), $wc_customer_id ); -
autoship_get_update_scheduled_orders_customer_payment_method_info_url
filter Copy link Customise this hookapply_filters( 'autoship_get_update_scheduled_orders_customer_payment_method_info_url', add_query_arg( array( 'autoship_method_id' => $method_id, 'autoship_method_type' => $method_type, ), wc_get_page_permalink( 'myaccount' ) ), $method_id, $method_type ); -
apply_filters( 'autoship_get_view_edit_scheduled_order_url', $url, $scheduled_order_id, $status ); -
apply_filters( 'autoship_get_view_scheduled_order_url', autoship_get_endpoint_url( 'view-scheduled-order', $scheduled_order_id, wc_get_page_permalink( 'myaccount' ) ), $scheduled_order_id ); -
apply_filters( 'autoship_global_editor_role_cap', array( 'administrator' ), $filter ); -
apply_filters( 'autoship_group_order_items_data', $order_items, $order ); -
apply_filters( 'autoship_header_script_data', ob_get_clean() ); -
apply_filters( 'autoship_hide_scheduled_orders_header_actions_on_no_orders', empty( $autoship_orders ), $customer_id, $autoship_orders ); -
apply_filters( 'autoship_include_scheduled_order_add_item_meta', true, $product ); -
apply_filters( 'autoship_include_scheduled_order_address_form', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_address_summary', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_edit_form', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_error', true, $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
apply_filters( 'autoship_include_scheduled_order_header', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_item_meta', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_items_action', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_items_coupon_action', autoship_allow_coupons(), $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_lock_order_template_skin', array( 'container' => '', ) ); -
apply_filters( 'autoship_include_scheduled_order_no_items_template', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_payment_form', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_payment_method_summary', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_preferred_shipping_rate_form', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_schedule_form', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_schedule_summary', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_totals', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_order_upsell_products', true, $autoship_order, $customer_id, $autoship_customer_id, $args, $upsell_ids, $disable_carousel_js ); -
apply_filters( 'autoship_include_scheduled_order_view_order_template_skin', array( 'container' => '', ) ); -
apply_filters( 'autoship_include_scheduled_order_view_template', true, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_orders_error', true, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_scheduled_orders_row_notice', true, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_include_shipping_rate_in_total_summary', 'yes' === autoship_get_editable_shipping_rate_option(), $autoship_order, $customer_id ); -
apply_filters( 'autoship_include_shipping_rate_refresh_option', true, $rates, $autoship_order, $customer_id ); -
apply_filters( 'autoship_info_dialog_link', $link, $product_id, $comps, $options ); -
apply_filters( 'autoship_info_dialog_link_comps', $comps, $product_id, $options ); -
apply_filters( 'autoship_info_modal_sizes', array( 'small' => '300px', 'medium' => '500px', 'large' => '800px', 'full' => 'auto', ) ); -
do_action( 'autoship_init_integration_test_complete', $health ); -
do_action( 'autoship_initiate_add_to_scheduled_order_link_handler', $link ); -
do_action( 'autoship_initiate_create_scheduled_order_link_handler', $link ); -
apply_filters( 'autoship_integration_status_check_messages', array( 'post' => array( 'updated' => __( 'POST: Orders can be created', 'autoship' ), 'error' => __( 'FAILED POST: Orders cannot be created', 'autoship' ), 'code' => 1100, ), 'wc_get' => array( 'updated' => __( 'GET: Product Data can be synchronized', 'autoship' ), 'error' => __( 'FAILED GET: Product Data cannot be synchronized', 'autoship' ), 'code' => 1210, ), 'put' => array( 'updated' => __(... ); -
apply_filters( 'autoship_is_add_to_scheduled_order_endpoint_redirect_action', true ); -
apply_filters( 'autoship_is_available_variation', true, $variation ); -
apply_filters( 'autoship_is_create_scheduled_order_endpoint_redirect_action', true ); -
apply_filters( 'autoship_is_paypal_payment_method_scheduled_order', false !== strpos( $payment_method['description'], $paypal_flag ), $payment_meta, $order, $payment_method ); -
apply_filters( 'autoship_is_visible_active_shop_product', 'yes' === autoship_schedule_options_enabled( $product ) && 'yes' === autoship_sync_active_enabled( $product ), $product ); -
apply_filters( 'autoship_item_data_has_valid_schedule', $valid, $data, $rfreq, $rfreq_type ); -
apply_filters( 'autoship_keep_logger_files_count', 30 ); -
apply_filters( 'autoship_lock_duration_restriction_notification', sprintf( __( 'Your order started processing on <strong>%s</strong>. Only the Payment Method can be changed on this order.', 'autoship' ), $lock_data['processing_start'] ), $lock_data ); -
apply_filters( 'autoship_lock_scheduled_order_template_classes', 'autoship-scheduled-order-template', $autoship_order, $customer_id, $autoship_customer_id, $autoship_order_id ); -
apply_filters( 'autoship_log_api_health_error_details', true, $values ); -
apply_filters( 'autoship_log_cleanup_interval', 3600 ); -
apply_filters( 'autoship_log_entry', true, $context, $message ); -
apply_filters( 'autoship_log_file_download_select_display_name', gmdate( 'l\, F dS Y', $time ), $time, $name ); -
apply_filters( 'autoship_logs_directory_path', $paths['basedir'] . DIRECTORY_SEPARATOR . 'autoship-logs' . DIRECTORY_SEPARATOR ); -
autoship_maybe_create_scheduled_orders_on_payment_status_change
filter Copy link Customise this hookapply_filters( 'autoship_maybe_create_scheduled_orders_on_payment_status_change', false, $order_id ); -
apply_filters( 'autoship_maybe_update_item_relative_next_occurrence_date', $next_occurrence, $product_id, $original_next_occurrence, $frequency_type, $frequency ); -
do_action( "autoship_my_account_my_scheduled_orders_column_{$column_id}", $order ); -
apply_filters( 'autoship_my_account_my_scheduled_orders_columns', array( 'order-number' => __( $schedule_label, 'autoship' ), 'order-date' => __( 'Next Date', 'autoship' ), 'order-status' => __( 'Status', 'autoship' ), 'order-total' => __( 'Total', 'autoship' ), 'order-actions' => __( 'Actions', 'autoship' ), ) ); -
apply_filters( 'autoship_new_adjusted_processing_window_time', $time, $date, $window ); -
apply_filters( 'autoship_next_occurrence_display_format', get_option( 'date_format' ) ); -
apply_filters( 'autoship_nextime_api_timeout', 10 ); -
apply_filters( 'autoship_nextime_api_url', 'https://api.nextime.ai' ); -
apply_filters( 'autoship_nextime_check_interval', 60 * 60 * 24 ); -
apply_filters( 'autoship_no_discount', $output, $strings, $prices, $product ); -
apply_filters( 'autoship_no_order_items_form_actions', $actions, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_no_order_items_form_call_to_action', sprintf( ! empty( $actions ) ? __( 'Add a Product to your %s or choose an option below:', 'autoship' ) : __( 'Add a Product to your %s using the Add a Product drop down.', 'autoship' ), autoship_translate_text( 'Scheduled Order' ) ), $actions, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_no_payment_method_notice', __( '<strong><em>No Payment Method Assigned</em></strong>', 'autoship' ), $autoship_order ); -
apply_filters( 'autoship_non_endpoint_query_vars', array( 'autoship_method_id', 'autoship_method_type', ) ); -
apply_filters( 'autoship_notice_handler_all_notice_content', $notice, $code, $message ); -
apply_filters( 'autoship_notice_handler_default_notice_content', $notice, $code, $message ); -
apply_filters( 'autoship_order_address_values', $address, $autoship_order, $type ); -
apply_filters( 'autoship_order_customer_dashboard_column_location', $location ); -
autoship_order_customer_dashboard_icon_column_content_maybe_scheduled_order
action Copy link Customise this hookdo_action( 'autoship_order_customer_dashboard_icon_column_content_maybe_scheduled_order', $external_data, $order ); -
apply_filters( 'autoship_order_dashboard_columns', $columns ); -
apply_filters( 'autoship_order_details_no_items', $action_string, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_order_details_summary_notice', $notice, $next_date, $status_translated_name, $autoship_order ); -
apply_filters( 'autoship_order_details_summary_subnotice', $subnotice, $next_date, $status_translated_name, $autoship_order ); -
apply_filters( 'autoship_order_from_cache_key', $key, $order_id ); -
apply_filters( 'autoship_order_is_lockable_status', $lock_data['locked'], $autoship_order['status'], $autoship_order, $customer_id ); -
apply_filters( 'autoship_order_notice_no_items', __( 'No items currently scheduled.', 'autoship' ), $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_order_payment_data', $payment_data, $order_id ); -
apply_filters( 'autoship_order_schedule_summary_skin', array( 'container' => '', 'header' => '', 'content' => '', 'notice' => '', 'subnotice' => '', ) ); -
apply_filters( 'autoship_orders_form_row_notice_skin', array( 'table_row_notice' => 'woocommerce-orders-table__row', 'table_cell_notice' => 'autoship-order-notice', 'table_cell_notice_msg' => '', ) ); -
apply_filters( 'autoship_orders_form_skin', array( 'container' => '', 'table' => 'woocommerce-orders-table woocommerce-MyAccount-orders shop_table shop_table_responsive my_account_orders account-orders-table', 'table_head' => '', 'table_head_row' => '', 'table_head_cell' => 'woocommerce-orders-table__header woocommerce-orders-table__header-', 'table_body' => '', 'table_row' => 'woocommerce-orders-table__row order woocommerce-orders-table... ); -
apply_filters( 'autoship_override_cart_schedule_options_enabled_default', get_option( 'autoship_cart_schedule_options_enabled' ) ); -
apply_filters( 'autoship_override_dissable_schedule_order_options_default', get_post_meta( $id, '_autoship_dissable_schedule_order_options', true ), $id ); -
apply_filters( 'autoship_override_schedule_options_enabled_default', get_post_meta( $id, '_autoship_schedule_options_enabled', true ), $id ); -
apply_filters( 'autoship_override_schedule_order_enabled_default', get_post_meta( $id, '_autoship_schedule_order_enabled', true ), $id ); -
apply_filters( 'autoship_override_schedule_process_enabled_default', get_post_meta( $id, '_autoship_schedule_process_enabled', true ), $id ); -
apply_filters( 'autoship_patched_customer_shipping_countries', array( 'AS' => 'American Samoa', 'FM' => 'Federated States Of Micronesia', 'GU' => 'Guam', 'MH' => 'Marshall Islands', 'MP' => 'Northern Mariana Islands', 'PR' => 'Puerto Rico', 'PW' => 'Palau', ) ); -
apply_filters( 'autoship_payment_method_gateway_type', array_merge( array( 'link' => 'standard', 'stripe' => 'standard', 'stripe_sepa' => 'standard', 'stripe_sepa_debit' => 'standard', 'trustcommerce' => 'standard', 'autoship-test-gateway' => 'test_gateway', 'ppec_paypal' => 'ppec', 'nmi_gateway_woocommerce_credit_card' => 'standard', 'sagepaymentsusaapi' => 'standard', 'square_credit_card' => 'square', 'sagepaydirect' => 'standard', 'cybersource' ... ); -
apply_filters( 'autoship_plugin_custom_extensions', array(), $autoship_settings ); -
apply_filters( 'autoship_populate_customer_view_order_header_attribution', $external_data['notice'], $external_data, $order ); -
apply_filters( 'autoship_populate_customer_view_order_header_attribution_html', sprintf( '<h3 class="autoship-order-attribution %s">%s</h3>', $external_data['class'], $external_data['notice'] ), $external_data, $order ); -
apply_filters( 'autoship_populate_next_occurrence_offset_column_val', $display, $offset, $order ); -
apply_filters( 'autoship_populate_next_occurrence_offset_empty', '–', $order ); -
apply_filters( 'autoship_populate_next_occurrence_offset_empty_created_date', '–', $offset, $order ); -
apply_filters( 'autoship_populate_order_customer_dashboard_icon_tooltip', wp_kses_post( implode( '<br/>', $external_data['notices'] ) ), $external_data, $order ); -
autoship_populate_order_customer_dashboard_icon_tooltip_components
filter Copy link Customise this hookapply_filters( 'autoship_populate_order_customer_dashboard_icon_tooltip_components', $external_data['notices'], $external_data, $order ); -
apply_filters( 'autoship_populate_order_dashboard_icon_tooltip', wp_kses_post( implode( "\n", $tooltip ) ), $tooltip, $external_data, $order ); -
apply_filters( 'autoship_populate_order_dashboard_icon_tooltip_components', $tooltip, $external_data, $order ); -
apply_filters( 'autoship_populate_order_dashboard_origin', $external_id, $order ); -
do_action( 'autoship_post_add_to_scheduled_order_link_handler', $success ); -
do_action( 'autoship_post_create_scheduled_order_link_handler', $success ); -
do_action( 'autoship_post_create_scheduled_orders_on_checkout', $scheduled_order_ids, $order_id ); -
do_action( 'autoship_post_create_scheduled_orders_on_payment_captured_hook', $scheduled_order_ids, $order_id ); -
autoship_post_create_scheduled_orders_on_payment_status_changed
action Copy link Customise this hookdo_action( 'autoship_post_create_scheduled_orders_on_payment_status_changed', $scheduled_order_ids, $order_id ); -
do_action( 'autoship_pre_add_to_scheduled_order_link_handler' ); -
do_action( 'autoship_pre_create_scheduled_order_link_handler' ); -
apply_filters( 'autoship_price_string', __( ': ', 'autoship' ), $product ); -
apply_filters( 'autoship_product_admin_summary_metabox_notice', sprintf( __( '<p>This product is currently <strong>Active</strong>.%s', 'autoship' ), $scheduled_notice ), $status, $summary_data, $product ); -
do_action( 'autoship_product_admin_summary_metabox_notice', $status, $summary_data, $product ); -
apply_filters( 'autoship_product_cache_max_life', 720 ); -
apply_filters( 'autoship_product_custom_fields_options_tab_clases', 'show_if_simple show_if_variable', $_product ); -
apply_filters( 'autoship_product_discount_data', $data, $product ); -
apply_filters( 'autoship_product_discount_price_placeholder_html', '<div class="autoship-price-display"></div>', $product ); -
apply_filters( 'autoship_product_display_name', $display_name, $product->get_id() ); -
apply_filters( 'autoship_product_message_string', ' ' . get_option( 'autoship_product_message' ), $product_id ); -
apply_filters( 'autoship_product_metaboxes', array( array( 'id' => 'autoship-product-summary-' . $data['status'], 'title' => sprintf( __( 'Autoship Status: <span class="%1$s %2$s">%3$s</span>', 'autoship' ), $data['status'], $data['error']['type'], $data['title'] ), 'callback' => 'autoship_product_summary_metabox', 'screen' => 'product', 'context' => 'side', 'priority' => 'high', 'args' => array( 'autoship_summary' => $data['data'], 'temp... ); -
apply_filters( 'autoship_product_not_loaded_via_ajax', ! wp_doing_ajax(), $product ); -
apply_filters( 'autoship_product_summary_data', array( 'Id' => $summaries[0]->id, 'ProductName' => $summaries[0]->productName, 'AddToScheduledOrder' => false !== $summaries[0]->addToScheduledOrder, 'ProcessScheduledOrder' => false !== $summaries[0]->processScheduledOrder, 'Availability' => $availability, 'ProductType' => $summaries[0]->productType, 'StockLevel' => $summaries[0]->availability, 'TotalStock' => $summaries[0]->stock, 'QuantitySc... ); -
apply_filters( 'autoship_product_summary_metabox_table_data', array(), $autoship_summary, $product ); -
apply_filters( 'autoship_product_upsells_products_heading', sprintf( __( 'Goes Well With Your %s', 'autoship' ), autoship_translate_text( 'Scheduled Order' ) ) ); -
apply_filters( 'autoship_product_upsert_data', $product_data ); -
apply_filters( 'autoship_product_upsert_metadata', $metadata, $wc_product ); -
apply_filters( 'autoship_productize_and_validate', empty( $product ) || ! autoship_is_valid_sync_post_type( $product ) || ! autoship_is_valid_sync_status_product( $product ) || ! $valid_variation, $product ); -
apply_filters( 'autoship_products_dashboard_columns', $columns ); -
do_action( "autoship_push_product_{$id}", $product, $overrides ); -
apply_filters( 'autoship_push_sync_product_on_status_change', autoship_is_valid_sync_product( $post->ID ) && ( $new_status !== $old_status ) && ( 'yes' === autoship_sync_active_enabled( $post->ID ) ), $post->ID, $new_status, $old_status ); -
apply_filters( 'autoship_push_sync_product_on_type_change', 'yes' === autoship_sync_active_enabled( $product->get_id() ), $product->get_id(), $old_type, $new_type ); -
apply_filters( 'autoship_qmc_component_scripts', $scripts ); -
apply_filters( 'autoship_qmc_component_style_url', $styles_url, $base_url ); -
apply_filters( 'autoship_qmc_components_url', 'https://portal.qpilot.cloud' ); -
apply_filters( 'autoship_qmc_portal_url', 'https://portal.qpilot.cloud' ); -
apply_filters( 'autoship_qpilot_integration_check_duration', 90 ); -
do_action( 'autoship_qpilot_orders_after_update_via_rest', $response, $request ); -
do_action( 'autoship_qpilot_orders_before_update_via_rest', $request ); -
apply_filters( 'autoship_qpilot_orders_update_via_rest_adjust_prices_for_taxes', ! empty( $adjusted ), $adjusted, $order ); -
apply_filters( 'autoship_qpilot_orders_update_via_rest_apply_coupons', empty( $id ), $id, $order ); -
apply_filters( 'autoship_qpilot_orders_via_rest', $request, $request ); -
apply_filters( 'autoship_qpilot_orders_via_rest_enable_fee_lines', autoship_rest_order_fee_lines_enabled(), $request ); -
apply_filters( 'autoship_qpilot_products_permission_check', $allowed, $request ); -
apply_filters( 'autoship_qpilot_sitemeta_upsert', array_merge( $sitemeta, $defaults ), $sitemeta, $defaults ); -
apply_filters( 'autoship_quicklink_requires_confirmation', $requires_confirmation, $action_type, $verification ); -
apply_filters( 'autoship_quicklinks_support_email', 'support@qpilot.cloud' ); -
apply_filters( 'autoship_recurring_percent_discount', $percent_discount, $product, $prices ); -
apply_filters( 'autoship_recurring_price', $recurring_price, $product_id, $frequency_type, $frequency ); -
apply_filters( 'autoship_recurring_string', __( 'on future orders', 'autoship' ), $product ); -
apply_filters( 'autoship_refresh_scheduled_order_data_endpoint', 'refresh-scheduled-order' ); -
apply_filters( 'autoship_refresh_scheduled_order_data_nonce_verification', wp_verify_nonce( $nonce, 'autoship-refresh-scheduled-order-data' ) ); -
apply_filters( 'autoship_refresh_scheduled_order_url', $autoship_page_url ? wp_nonce_url( add_query_arg( $keys, $autoship_page_url ), 'autoship-refresh-scheduled-order-data', 'autoship-refresh-scheduled-order-data-nonce' ) : '' ); -
apply_filters( 'autoship_registered_admin_setting_field_ids', array( 'autoship_client_id', 'autoship_client_secret', 'autoship_token_auth', 'autoship_user_id', 'autoship_site_id', 'autoship_refresh_token', 'autoship_free_shipping', 'autoship_sync_all_products_enabled', 'autoship_scheduled_orders_app_enabled', 'autoship_scheduled_orders_display_version', 'autoship_v2_portal_display_without_scheduled_orders', 'autoship_editable_shipping_rate_enabled', 'auto... ); -
apply_filters( 'autoship_registered_admin_settings', array( 'autoship_client_id' => 'autoship-settings-group', 'autoship_client_secret' => 'autoship-settings-group', 'autoship_cart_schedule_options_enabled' => 'autoship-settings-group', 'autoship_site_id' => 'autoship-settings-group', 'autoship_user_id' => 'autoship-settings-group', 'autoship_token_auth' => 'autoship-settings-group', 'autoship_refresh_token' => 'autoship-settings-group', 'autoshi... ); -
autoship_remove_scheduled_order_coupon_action_nonce_verification
filter Copy link Customise this hookapply_filters( 'autoship_remove_scheduled_order_coupon_action_nonce_verification', wp_verify_nonce( $nonce, 'autoship-remove-scheduled-order-coupon' ) ); -
apply_filters( 'autoship_remove_scheduled_order_coupon_endpoint', 'remove-scheduled-order-coupon' ); -
apply_filters( 'autoship_remove_scheduled_order_item_action_nonce_verification', wp_verify_nonce( $_REQUEST['autoship-remove-scheduled-order-item-nonce'], 'autoship-remove-scheduled-order-item' ) ); -
apply_filters( 'autoship_remove_scheduled_order_item_endpoint', 'remove-scheduled-order-item' ); -
apply_filters( 'autoship_rest_generated_order_offset', ! empty( $next_occurrence_utc ) ? autoship_get_formatted_local_date( $next_occurrence_utc, 'Y-m-d H:i:s' ) : '', $next_occurrence_utc, $request, $original_request ); -
apply_filters( 'autoship_rest_generated_virtual_wc_coupons', $new_coupons, $coupons, $request ); -
apply_filters( 'autoship_save_order_cache_handler_object', $data, $key, $autoship_order_cache ); -
apply_filters( "autoship_save_product_custom_{$name}_field", $value, $id ); -
apply_filters( 'autoship_save_product_custom_fields_name_list', $autoship_field_names ); -
apply_filters( 'autoship_schedulable_products_session_freshness', $date_diff > $threshold, $date_diff, $threshold, $key, $now ); -
apply_filters( 'autoship_schedulable_products_session_freshness_threshold', 12 ); -
apply_filters( 'autoship_schedule_options_variable_loading', __( 'Loading...', 'autoship' ) ); -
apply_filters( 'autoship_schedule_order_add_item_meta_details', $meta_data, $product ); -
apply_filters( 'autoship_schedule_order_add_item_meta_skin', array( 'conatiner' => '', 'meta_item' => '', 'sku' => '', 'meta' => '', ) ); -
apply_filters( 'autoship_schedule_order_header_error', $error, $autoship_order['status'], $autoship_order ); -
apply_filters( 'autoship_schedule_order_header_skin', array( 'header' => '', 'notice' => 'woocommerce-error', ) ); -
apply_filters( 'autoship_schedule_order_header_title', printf( __( '%1$s #%2$s', 'autoship' ), autoship_translate_text( 'Scheduled Order' ), '<mark class="order-number">' . $autoship_order['id'] . '</mark>' ) ); -
apply_filters( 'autoship_schedule_order_item_meta_details', $meta_data, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_schedule_order_item_meta_skin', array( 'conatiner' => '', 'meta_item' => '', 'sku' => '', 'meta' => '', ) ); -
apply_filters( "autoship_scheduled_order_{$action}", $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_exclude_out_of_cycle", true, $order_id ); -
apply_filters( "autoship_scheduled_order_{$action}_key", $item['key'], $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_max_qty_allowed", $item['max_input'], $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_meta", $name_components['meta'], $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_min_qty_required", '0', $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_name", $name_components['name'], $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_sold_individually", $item['is_sold_individually'], $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_thumbnail", $item['thumbnail'], $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_visible", true, $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}_wc_permalink", $item['wc_permallink'], $item, $scheduled_item ); -
apply_filters( "autoship_scheduled_order_{$action}s", $items, $scheduled_items ); -
apply_filters( 'autoship_scheduled_order_add_item_quantity_field', $product_quantity, $item, $product ); -
apply_filters( 'autoship_scheduled_order_address_billing_label', __( 'Billing Address', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_address_billing_subnote', sprintf( __( 'Update your address in <a href="%s">My Account</a>.', 'autoship' ), wc_get_account_endpoint_url( 'edit-address' ) ), $autoship_order, $context ); -
apply_filters( 'autoship_scheduled_order_address_form_shipping_label', __( 'Edit Shipping Address', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_address_form_skin', array( 'form' => '', 'container' => '', 'title' => '', 'address_container' => '', 'action_btn_container' => '', 'action_btn' => '', ) ); -
apply_filters( 'autoship_scheduled_order_address_shipping_label', __( 'Shipping Address', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_address_shipping_subnote', sprintf( __( 'Update your address in <a href="%s">My Account</a>.', 'autoship' ), wc_get_account_endpoint_url( 'edit-address' ) ), $autoship_order, $context ); -
apply_filters( 'autoship_scheduled_order_address_summary_skin', array( 'container' => 'woocommerce-customer-details', 'content' => 'woocommerce-columns woocommerce-columns--2 woocommerce-columns--addresses col2-set addresses', 'column_billing' => 'woocommerce-column woocommerce-column--1 woocommerce-column--billing-address col-1', 'column_shipping' => 'woocommerce-column woocommerce-column--2 woocommerce-column--shipping-address col-2', 'title' => 'woocomme... ); -
apply_filters( 'autoship_scheduled_order_address_template_classes', 'autoship-address-summary', $autoship_order ); -
apply_filters( 'autoship_scheduled_order_allow_removal_of_cycle_item', true, $item['cycle_item'], $item ); -
apply_filters( 'autoship_scheduled_order_coupon_remove_url', $autoship_page_url ? wp_nonce_url( add_query_arg( $keys, $autoship_page_url ), 'autoship-remove-scheduled-order-coupon', 'autoship-remove-scheduled-order-coupon-nonce' ) : '' ); -
apply_filters( 'autoship_scheduled_order_delete_url', $autoship_page_url ? wp_nonce_url( add_query_arg( $keys, $autoship_page_url ), 'autoship-delete-scheduled-order', 'autoship-delete-scheduled-order-nonce' ) : '' ); -
apply_filters( 'autoship_scheduled_order_edit_order_template_skin', array( 'container' => '', ) ); -
apply_filters( 'autoship_scheduled_order_edit_payment_form_action_label', __( 'Update Payment Method', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_edit_payment_form_classes', 'autoship-scheduled-order-edit-form autoship-edit-scheduled-order-payment-form', $autoship_order ); -
apply_filters( 'autoship_scheduled_order_edit_payment_label', __( 'Payment Method', 'autoship' ) ); -
autoship_scheduled_order_edit_preferred_shipping_rate_form_action_cancel_label
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_order_edit_preferred_shipping_rate_form_action_cancel_label', __( 'Cancel', 'autoship' ) ); -
autoship_scheduled_order_edit_preferred_shipping_rate_form_action_label
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_order_edit_preferred_shipping_rate_form_action_label', __( 'Update Shipping Method', 'autoship' ) ); -
autoship_scheduled_order_edit_preferred_shipping_rate_form_classes
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_order_edit_preferred_shipping_rate_form_classes', 'autoship-scheduled-order-edit-form autoship-edit-scheduled-order-preferred-shipping-rate-form', $autoship_order ); -
apply_filters( 'autoship_scheduled_order_edit_preferred_shipping_rate_label', __( 'Preferred Shipping Rate', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_edit_schedule_form_min_date', autoship_get_next_available_nextoccurrence( $autoship_order, 'Y-m-d' ), $next_date, $autoship_order ); -
apply_filters( 'autoship_scheduled_order_error_skin', array( 'container' => '', 'content' => '', 'header' => '', 'notice' => '', 'subnotice' => '', ) ); -
apply_filters( 'autoship_scheduled_order_error_template_classes', 'autoship-scheduled-order-template autoship-error-template', $autoship_order ); -
apply_filters( 'autoship_scheduled_order_form_add_item_price', autoship_get_formatted_price( $item['sale_price'], array( 'original' => $item['price'], 'suffix' => $item['wc_product']->get_price_suffix(), ) ), $item, $product ); -
apply_filters( 'autoship_scheduled_order_form_add_item_remove_link', sprintf( '<a href="%s" class="remove remove-new-item-action" aria-label="%s" data-scheduled-order-item-id="%s">×</a>', '#', __( 'Remove this item', 'autoship' ), $item['key'] ), $product ); -
apply_filters( 'autoship_scheduled_order_form_coupon_code', sprintf( '<li class="coupon"><span>%s</span></li>', $value ), $value ); -
apply_filters( 'autoship_scheduled_order_form_coupon_remove_link', sprintf( '<li class="coupon"><a href="%s" class="remove-item-action" aria-label="%s" data-scheduled-order-coupon-code="%s" data-scheduled-order-id="%s">×</a><span>%s</span></li>', esc_url( $remove_url ), __( 'Remove this item', 'autoship' ), esc_attr( $value ), esc_attr( $autoship_order['id'] ), $value ), $value ); -
apply_filters( 'autoship_scheduled_order_form_item_add_display_name', $overrides['title'] . ' ' . autoship_get_formatted_price( $available_products[ $wc_product->get_id() ]['item_price'], array( 'suffix' => $wc_product->get_price_suffix(), ) ), $wc_product->get_title(), $wc_product->get_price(), $wc_product->get_sale_price(), $uses_wc_data ? $wc_product : $product ); -
apply_filters( 'autoship_scheduled_order_form_item_add_link', sprintf( '<a href="%s" class="add-item-action">%s</a>', '#', __( 'Add', 'autoship' ) ) ); -
apply_filters( 'autoship_scheduled_order_form_item_add_select_default', esc_html( __( 'Add a Product', 'autoship' ) ) ); -
apply_filters( 'autoship_scheduled_order_form_item_price', autoship_get_formatted_price( autoship_get_calculated_scheduled_order_item_sale_price( $scheduled_item, $autoship_order ), array( 'original' => $item['price'], 'suffix' => $item['wc_product']->get_price_suffix(), ) ), $item, $scheduled_item, $autoship_order ); -
apply_filters( 'autoship_scheduled_order_form_item_quantity_field', $product_quantity, $item, $scheduled_item ); -
apply_filters( 'autoship_scheduled_order_form_item_remove_link', sprintf( '<a href="%s" class="remove remove-item-action" aria-label="%s" data-scheduled-order-item-id="%s" data-scheduled-order-id="%s">×</a>', esc_url( $item['remove_url'] ), __( 'Remove this item', 'autoship' ), esc_attr( $item['id'] ), esc_attr( $item['order_id'] ) ), $item['key'], $item ); -
apply_filters( 'autoship_scheduled_order_header_locked_notice_display', '<p class="autoship_order_notice woocommerce-message woocommerce-notice woocommerce-info" role="alert">' . $autoship_order['lock_data']['notice'] . '</p>', $autoship_order, $customer_id ); -
apply_filters( 'autoship_scheduled_order_item_cycle_notice', sprintf( '%s %s %s', '<span class="autoship-item-notice"><i class="dashicons dashicons-calendar-alt"></i>', $notice, '</span>' ), $notice, $item ); -
apply_filters( 'autoship_scheduled_order_item_multiple_cycle_notice', sprintf( __( '%d times only.', 'autoship' ), $item['max_cycles'] - $item['cycles'] ), __( '%d Times Only.' ), $item['max_cycles'] - $item['cycles'], $item ); -
apply_filters( 'autoship_scheduled_order_item_remove_url', $autoship_page_url ? wp_nonce_url( add_query_arg( $keys, $autoship_page_url ), 'autoship-remove-scheduled-order-item', 'autoship-remove-scheduled-order-item-nonce' ) : '' ); -
apply_filters( 'autoship_scheduled_order_item_single_cycle_notice', __( '1 time only.', 'autoship' ), $item ); -
apply_filters( 'autoship_scheduled_order_item_stock_notice', sprintf( '<span class="autoship-item-notice"><i class="dashicons dashicons-warning"></i>%s</span>', __( 'Out of Stock', 'autoship' ) ), $item, $scheduled_item, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_order_items_coupon_form_actions_skin', array( 'table_row' => 'woocommerce-cart-form__cart-item', 'table_cell' => '', 'container' => '', 'action_label' => '', 'action_btn' => '', 'action_input' => '', ) ); -
apply_filters( 'autoship_scheduled_order_items_coupon_form_label', __( 'Coupon:', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_items_coupon_form_placeholder', __( 'Coupon Code', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_items_form_actions_skin', array( 'table_row' => 'woocommerce-cart-form__cart-item', 'table_cell' => '', 'items_action_btn' => '', ) ); -
apply_filters( 'autoship_scheduled_order_items_not_items_skin', array( 'table_row' => 'woocommerce-cart-form__cart-item', 'table_cell' => 'autoship-update-action autoship-update-order-action actions', 'content' => '', 'notice' => '', 'subnotice' => '', 'action_link' => 'autoship-action-link', 'action_span' => '', ) ); -
apply_filters( 'autoship_scheduled_order_items_view_skin', array( 'container' => '', 'table' => 'shop_table shop_table_responsive cart woocommerce-cart-form__contents', 'table_head' => '', 'table_head_row' => '', 'table_head_cell' => '', 'table_body' => '', 'table_row' => 'woocommerce-cart-form__cart-item', 'table_cell' => '', 'table_row_coupons' => '', 'table_cell_coupons' => '', ) ); -
apply_filters( 'autoship_scheduled_order_payment_form_add_method_link', sprintf( '<div class="add-payment-method-link"><a href="%1$s">%2$s</a></div>', $url, __( 'Add New Payment Method', 'autoship' ) ), $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_order_payment_form_skin', array( 'form' => '', 'container' => '', 'payment_container' => '', 'payment_action_label' => '', 'payment_action_btn' => '', 'payment_action_select' => '', 'payment_action_btn_container' => '', ) ); -
apply_filters( 'autoship_scheduled_order_payment_method_summary_notice', $notice, $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_order_payment_method_summary_skin', array( 'container' => '', 'content' => '', 'title' => '', 'notice' => '', ) ); -
apply_filters( 'autoship_scheduled_order_payment_method_summary_title', __( 'Payment Method: ', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_preferred_shipping_rate_form_skin', array( 'form' => '', 'container' => '', 'shipping_rate_container' => '', 'shipping_rate_action_label' => '', 'shipping_rate_action_btn' => '', 'shipping_rate_action_select' => '', 'shipping_rate_action_btn_container' => '', ) ); -
apply_filters( 'autoship_scheduled_order_quantity_input_args', wp_parse_args( $args, $defaults ), $product ); -
apply_filters( 'autoship_scheduled_order_quantity_input_display', ob_get_clean(), $args, $product, $wc_product, $show ); -
apply_filters( 'autoship_scheduled_order_sanitize_shipping_address_post_fields', $values, $fields ); -
apply_filters( 'autoship_scheduled_order_schedule_form_skin', array( 'form' => '', 'container' => '', 'frequency_container' => '', 'frequency_label' => '', 'frequency_select' => '', 'next_occurrence_container' => '', 'next_occurrence_label' => '', 'next_occurrence_input' => '', 'action_btn_container' => '', 'action_btn' => '', ) ); -
apply_filters( 'autoship_scheduled_order_status_change_url', $autoship_page_url ? wp_nonce_url( add_query_arg( $keys, $autoship_page_url ), 'autoship-update-scheduled-order', 'autoship-update-scheduled-order-nonce' ) : '' ); -
autoship_scheduled_order_template_display_no_rights_redirect_template
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_order_template_display_no_rights_redirect_template', 'scheduled-orders/order-error-template', $customer_id ); -
apply_filters( 'autoship_scheduled_order_totals_skin', array( 'container' => 'cart-collaterals', 'content' => 'cart_totals', 'table' => 'shop_table shop_table_responsive', 'table_body' => '', 'table_row' => 'cart-', 'table_head' => '', 'table_cell' => '', ) ); -
apply_filters( 'autoship_scheduled_order_upsell_disable_carousel_js', $disable_carousel_js ); -
apply_filters( 'autoship_scheduled_order_upsell_ids', array_diff( $upsell_ids, $order_items ) ); -
apply_filters( 'autoship_scheduled_order_validate_shipping_address_post_field', $values, $fields ); -
autoship_scheduled_order_validate_shipping_address_required_posted_fields
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_order_validate_shipping_address_required_posted_fields', $validation, $valids, $fields ); -
apply_filters( 'autoship_scheduled_order_view_coupon_code_title', __( 'Applied Coupon Codes:', 'autoship' ) ); -
apply_filters( 'autoship_scheduled_order_view_item_price', autoship_get_formatted_price( autoship_get_calculated_scheduled_order_item_sale_price( $scheduled_item, $autoship_order ), array( 'original' => $item['price'], 'suffix' => $item['wc_product']->get_price_suffix(), ) ), $item, $scheduled_item, $autoship_order ); -
apply_filters( 'autoship_scheduled_order_view_item_quantity', $item['qty'], $item, $scheduled_item ); -
do_action( 'autoship_scheduled_order_view_no_items', $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_order_view_payment_template_classes', 'autoship-scheduled-order-payment-method-summary', $autoship_order ); -
apply_filters( 'autoship_scheduled_orders_app_display_template', $template, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_app_path', $app_path ); -
apply_filters( 'autoship_scheduled_orders_app_url', $app_path . '?' . http_build_query( $app_params ), $app_path, $app_params ); -
apply_filters( 'autoship_scheduled_orders_display_template', 'scheduled-orders/orders-row-notice-template', $customer_id, $autoship_customer_id ); -
do_action( 'autoship_scheduled_orders_error_content', $customer_id, $autoship_customer_id, $autoship_orders ); -
apply_filters( 'autoship_scheduled_orders_error_notice', $autoship_orders->get_error_code(), $autoship_orders, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_error_notice_details', $details = $autoship_orders->get_error_message(), $autoship_orders, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_error_skin', array( 'container' => ! is_wp_error( $autoship_orders ) ? 'no-error' : '', 'content' => '', 'header' => '', 'notice' => '', 'subnotice' => '', ) ); -
apply_filters( 'autoship_scheduled_orders_error_template_classes', 'autoship-scheduled-orders-template autoship-error-template', $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_header_actions', array( 'autoship-create-new-order' => sprintf( '<a href="%s" class="button autoship-action-btn">%s</a>', autoship_get_scheduled_order_create_url( array( 'customer' => $customer_id, ) ), sprintf( __( 'Create New %s', 'autoship' ), $label ) ), ), $customer_id, $autoship_customer_id, $autoship_orders ); -
apply_filters( 'autoship_scheduled_orders_hosted_display_template', $template, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_hosted_url_params', array( 'tokenBearerAuth' => $access_token->tokenBearerAuth, ), $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_template_classes', 'autoship-scheduled-orders-template-container', $autoship_orders, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_template_display', $template, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_template_display_orders', $autoship_orders, $customer_id, $autoship_customer_id ); -
autoship_scheduled_orders_template_display_single_order_redirect_template
filter Copy link Customise this hookapply_filters( 'autoship_scheduled_orders_template_display_single_order_redirect_template', ! is_wp_error( $autoship_orders ) && ( count( $autoship_orders ) === 1 ), $autoship_orders, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_v2_portal_display_template', $template, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_scheduled_orders_v2_portal_display_template_args', array( 'customer_id' => $customer_id, 'autoship_customer_id' => $autoship_customer_id, 'site_id' => $client->get_site_id(), 'token' => $access_token->tokenBearerAuth, ) ); -
do_action( 'autoship_set_global_sync_active_enabled', $option ); -
do_action( 'autoship_set_latest_export_file', $filename ); -
apply_filters( 'autoship_shipperhq_product_fields', array( 'shipperhq_shipping_group' => $id, 'shipperhq_dim_group' => $id, 'ship_separately' => $id, 'shipperhq_warehouse' => $id, 'freight_class' => $id, 'must_ship_freight' => $id, 'shipperhq_hs_code' => $id, ), $wc_product ); -
apply_filters( 'autoship_shortcode_create_scheduled_order_action_link', sprintf( '%s<a href="%s" class="button autoship-action-btn %s" %s >%s</a>%s', wp_kses_post( $attributes['wrap_start'] ), esc_url( autoship_get_scheduled_order_create_url( $params ) ), esc_attr( $attributes['classes'] ), wp_kses_post( $attributes['atts'] ), esc_html( $attributes['label'] ), wp_kses_post( $attributes['wrap_end'] ) ), $attributes, $params ); -
apply_filters( 'autoship_simple_product_custom_fields_options_clases', 'show_if_simple hide_if_variable', $_product ); -
autoship_simple_product_display_scheduled_order_enabled_edit_fields
filter Copy link Customise this hookapply_filters( 'autoship_simple_product_display_scheduled_order_enabled_edit_fields', $_product->is_type( 'simple' ), $_product ); -
apply_filters( 'autoship_site_order_settings_cache_max_life', 900 ); -
apply_filters( 'autoship_site_settings_expiration_duration', 900 ); -
apply_filters( 'autoship_site_url_guard_enabled', true ); -
apply_filters( 'autoship_site_url_guard_mode', self::MODE_WARN ); -
apply_filters( 'autoship_sitemeta_language_definitions', $defaults['language'] ); -
apply_filters( 'autoship_snooze_action_label', $label ); -
apply_filters( 'autoship_snooze_allow_custom_date', $allowed ); -
apply_filters( 'autoship_snooze_duration_label', $label, $duration, $duration_type ); -
apply_filters( 'autoship_snooze_enabled', $enabled ); -
apply_filters( 'autoship_snooze_frequencies_cache_ttl', self::DEFAULT_CACHE_TTL ); -
apply_filters( 'autoship_snooze_max_duration_days', $max ); -
apply_filters( 'autoship_snooze_pause_behavior', $behavior ); -
apply_filters( 'autoship_subscription_status_ttl', 15 * 60 ); -
apply_filters( 'autoship_sync_active_enabled', autoship_global_sync_active_enabled(), $product ); -
apply_filters( 'autoship_sync_invalid_product_codes', $error_codes ); -
apply_filters( 'autoship_sync_new_product_variation', ( 'yes' === autoship_sync_active_enabled( $id ) ) && autoship_is_valid_sync_product( $id ), $id ); -
apply_filters( 'autoship_sync_product', ( 'yes' === autoship_sync_active_enabled( $id ) ) && autoship_is_valid_sync_product( $id ), $id ); -
apply_filters( 'autoship_sync_product_on_active_change', $original !== $new_instance, $id, $new_instance, $original ); -
apply_filters( 'autoship_sync_status_error_as_warning', false, $error_data, $product ); -
apply_filters( 'autoship_total_customers_ttl', 15 * 60 ); -
apply_filters( 'autoship_total_product_summary_data', $totals, $product, $summaries ); -
apply_filters( 'autoship_total_variation_product_summary_data', $totals, $product, $ids, $summaries ); -
apply_filters( 'autoship_update_cart_item_data_schedule_values', $merged_values, $schedule_data, $cart_item_data, $product_id, $variation_id, $quantity ); -
autoship_update_customer_info_on_all_scheduled_orders_updated_notice
filter Copy link Customise this hookapply_filters( 'autoship_update_customer_info_on_all_scheduled_orders_updated_notice', array( 'message' => $message, 'code' => 'success', ), $wc_customer_id ); -
apply_filters( 'autoship_update_order_frequency_value_formatted', explode( ':', $_POST['autoship_order_frequency'] ), $_POST['autoship_order_frequency'], $autoship_order_id ); -
apply_filters( 'autoship_update_order_next_occurrence_value_formatted', autoship_get_api_formatted_date( $_POST['autoship_next_occurrence'], 'Y-m-d', true ), $_POST['autoship_next_occurrence'], $autoship_order_id ); -
autoship_update_payment_method_on_all_scheduled_orders_failure_invalid_notice
filter Copy link Customise this hookapply_filters( 'autoship_update_payment_method_on_all_scheduled_orders_failure_invalid_notice', array( 'message' => $message, 'code' => 'error', ), $type ); -
autoship_update_payment_method_on_all_scheduled_orders_failure_notice
filter Copy link Customise this hookapply_filters( 'autoship_update_payment_method_on_all_scheduled_orders_failure_notice', array( 'message' => $message, 'code' => 'error', ), $type ); -
autoship_update_payment_method_on_all_scheduled_orders_failure_rights_notice
filter Copy link Customise this hookapply_filters( 'autoship_update_payment_method_on_all_scheduled_orders_failure_rights_notice', array( 'message' => $message, 'code' => 'error', ), $type ); -
autoship_update_payment_method_on_all_scheduled_orders_updated_notice
filter Copy link Customise this hookapply_filters( 'autoship_update_payment_method_on_all_scheduled_orders_updated_notice', array( 'message' => $message, 'code' => 'success', ), $type ); -
do_action( "autoship_update_product_{$name}_field", $id, $name, $value, $original ); -
apply_filters( 'autoship_update_schedule_items_changed_made', $change, $original_autoship_order_items[ $item_id ], $item ); -
apply_filters( "autoship_update_scheduled_order_{$action}_handler_call_back", $action . '_action_handler', $order_id, $action, $data ); -
do_action( 'autoship_update_scheduled_order_form_actions', $autoship_order, $customer_id, $autoship_customer_id ); -
do_action( 'autoship_update_scheduled_order_form_no_items', $autoship_order, $customer_id, $autoship_customer_id ); -
apply_filters( 'autoship_update_scheduled_order_handler_call_back_data', $data, $order_id, $action ); -
apply_filters( 'autoship_update_scheduled_order_handler_valid_actions', array( 'autoship_add_order_coupon' => true, 'autoship_remove_order_coupon' => true, 'autoship_add_order_item' => true, 'autoship_remove_order_item' => true, 'autoship_update_order' => true, 'autoship_delete_order' => true, 'autoship_update_order_status' => true, 'autoship_update_order_schedule' => true, 'autoship_update_order_shipping_address' => true, 'autoship_update_schedule_items' => true, ... ); -
apply_filters( 'autoship_update_scheduled_order_order_id_verification', absint( $_POST['autoship_scheduled_order_id'] ), $action ); -
autoship_update_scheduled_order_shipping_address_invalid_country_field
action Copy link Customise this hookdo_action( 'autoship_update_scheduled_order_shipping_address_invalid_country_field', array( 'country' => $country ) ); -
autoship_update_scheduled_order_shipping_address_invalid_country_notice
filter Copy link Customise this hookapply_filters( 'autoship_update_scheduled_order_shipping_address_invalid_country_notice', $validation->get_error_messages(), array( 'country' => $country ) ); -
autoship_update_scheduled_order_shipping_address_invalid_fields
action Copy link Customise this hookdo_action( 'autoship_update_scheduled_order_shipping_address_invalid_fields', $invalids, $fields ); -
autoship_update_scheduled_order_shipping_address_invalid_notices
filter Copy link Customise this hookapply_filters( 'autoship_update_scheduled_order_shipping_address_invalid_notices', $validation->get_error_messages(), $invalids, $fields ); -
apply_filters( 'autoship_update_scheduled_order_status_endpoint', 'update-scheduled-order-status' ); -
apply_filters( 'autoship_update_scheduled_orders_customer_info_endpoint', 'update-scheduled-orders-customer-info' ); -
autoship_update_scheduled_orders_on_processing_{$action}_gateway
action Copy link Customise this hookdo_action( "autoship_update_scheduled_orders_on_processing_{$action}_gateway", $payment_meta, $order, $payment_object ); -
apply_filters( 'autoship_update_scheduled_orders_payment_method_endpoint', 'update-scheduled-orders-payment-method' ); -
apply_filters( 'autoship_upsell_display_args', array( 'posts_per_page' => - 1, 'orderby' => $order_by, 'order' => 'desc', 'columns' => 3, ) ); -
apply_filters( 'autoship_upsells_order', $args['order'] ); -
apply_filters( 'autoship_upsells_orderby', $args['orderby'] ); -
apply_filters( 'autoship_upsert_on_batch_update_products', true && ! empty( $valid_product ), 'autoship_bulk_update_recurring_price', $product ); -
do_action( 'autoship_utilities_bulk_frequencies_section' ); -
apply_filters( 'autoship_v2_portal_scripts_url', 'https://subscriber-portal.qpilot.cloud' ); -
apply_filters( 'autoship_valid_cart_item_frequency', '' ); -
apply_filters( 'autoship_valid_cart_item_min_frequency', 1 ); -
apply_filters( 'autoship_valid_cart_total_min_required', $autoship_items_count ); -
apply_filters( 'autoship_valid_coupon_format', $valid, $autoship_coupon_code ); -
apply_filters( 'autoship_valid_customer_types', array( 'customer' ) ); -
apply_filters( 'autoship_valid_endpoints', $endpoints ); -
apply_filters( 'autoship_valid_payment_method_types', array( 'authorize_net_cim_credit_card' => 'AuthorizeNet', 'cybersource_credit_card' => 'CyberSourceV2', 'link' => 'Stripe', 'stripe' => 'Stripe', 'stripe_sepa' => 'Stripe', 'stripe_sepa_debit' => 'Stripe', 'trustcommerce' => 'TrustCommerce', 'autoship-test-gateway' => 'Test', 'ppec_paypal' => 'ppec', 'braintree_credit_card' => 'Braintree', 'braintree_paypal' => 'Braintree', 'cybersource' => 'Cy... ); -
apply_filters( 'autoship_valid_post_types', array( 'product', 'product_variation', ) ); -
apply_filters( 'autoship_valid_product_statuses', array( 'publish', ) ); -
apply_filters( 'autoship_valid_product_types', array( 'simple', 'variable', 'variation', ) ); -
apply_filters( 'autoship_valid_query_vars', $vars ); -
apply_filters( 'autoship_validate_and_get_autoship_coupon_discount_amount', $discount, $valid_coupon, $product_id, $price, $qty, $min, $max, $user_id ); -
apply_filters( 'autoship_validate_and_get_coupon_discount_amount', $coupon['discount'], $coupon, $product_id, $price, $qty ); -
apply_filters( 'autoship_variable_product_summary_data', array( 'Id' => $summary->id, 'ProductName' => $summary->productName, 'AddToScheduledOrder' => false !== $summary->addToScheduledOrder, 'ProcessScheduledOrder' => false !== $summary->processScheduledOrder, 'Availability' => $availability, 'ProductType' => $summary->productType, 'StockLevel' => $summary->availability, 'TotalStock' => $summary->stock, 'QuantityScheduled' => $summary->totalQuantity... ); -
apply_filters( 'autoship_view_scheduled_order_endpoint', 'view-scheduled-order' ); -
apply_filters( 'autoship_view_scheduled_order_item_class', 'scheduled_order_item', $item, $scheduled_item ); -
apply_filters( 'autoship_view_scheduled_order_items_table_classes', 'autoship-scheduled-order-items-table' ); -
apply_filters( 'autoship_view_scheduled_order_summary_template_classes', 'autoship-scheduled-order-summary', $autoship_order ); -
apply_filters( 'autoship_view_scheduled_order_totals_template_classes', 'autoship-order-totals-section', $autoship_order ); -
apply_filters( 'autoship_view_scheduled_orders_endpoint', 'scheduled-orders' ); -
apply_filters( 'autoship-active-product-modal-notice', sprintf( __( '<h3>Autoship Cloud Warning!</h3>%s', 'autoship' ), $notice ), $product ); -
apply_filters( 'autoship-default-frequency-options', $options ); -
apply_filters( 'autoship-product-custom-data-values', $data, $product->get_id() ); -
apply_filters( 'autoship-product-frequency-options', $options, $product->get_id() ); -
apply_filters( "default_{$action}_action_messages", array( 'error' => sprintf( __( 'A problem was encountered while trying to update the %s.', 'autoship' ), $scheduled_order_label ), 'success' => sprintf( __( 'The %s was successfully updated.', 'autoship' ), $scheduled_order_label . ' #%s' ), ) ); -
apply_filters( 'wc_address_i18n_params', $data ); -
apply_filters( 'wc_country_select_params', $data ); -
apply_filters( 'woocommerce_admin_order_date_format', __( 'M j, Y', 'woocommerce' ) ); -
apply_filters( 'woocommerce_cart_redirect_after_error', get_permalink( $product_id ), $product_id ); -
do_action( 'woocommerce_product_options_autoship_product_data' ); -
apply_filters( 'woocommerce_quantity_input_args', wp_parse_args( $args, $defaults ), $wc_product ); -
apply_filters( 'woocommerce_quantity_input_inputmode', has_filter( 'woocommerce_stock_amount', 'intval' ) ? 'numeric' : '' ); -
apply_filters( 'woocommerce_quantity_input_max', - 1, $wc_product ); -
apply_filters( 'woocommerce_quantity_input_min', 0, $wc_product ); -
apply_filters( 'woocommerce_quantity_input_pattern', has_filter( 'woocommerce_stock_amount', 'intval' ) ? '[0-9]*' : '' ); -
apply_filters( 'woocommerce_quantity_input_step', 1, $wc_product ); -
woocommerce_subscription_payment_complete
action Used by 2 plugins → Copy link Customise this hookdo_action( 'woocommerce_subscription_payment_complete', new WC_Subscription( $order ) );
Generated from Autoship Cloud for WooCommerce Subscription Products's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: