CycleSave 1.0.3 has 31 actions and 37 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 CycleSave fires an action
add_action( 'cyclesave_account_billing_fields', function( $user, $user_id ) {
// Your code runs here.
}, 10, 2 );
// Change a value CycleSave is about to use
add_filter( 'cyclesave_available_gateways', function( $gateways ) {
// Change $gateways here.
return $gateways;
}, 10, 1 );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.
All hooks
-
/** * Filter the list of available gateways. Pro extensions add their slugs here * via their boot() method. */ apply_filters( 'cyclesave_available_gateways', $gateways ); -
/** * Action: cyclesave_account_billing_fields */ do_action( 'cyclesave_account_billing_fields', $user, $user_id ); -
/** * Fires after core billing fields are saved, allowing extra billing fields to * be saved. */ do_action( 'cyclesave_account_billing_save', $user_id ); -
/** * Action: cyclesave_account_profile_fields */ do_action( 'cyclesave_account_profile_fields', $user, $user_id ); -
/** * Fires after core profile fields are saved, allowing extra profile fields to * be saved. */ do_action( 'cyclesave_account_profile_save', $user_id ); -
/** * Action: cyclesave_account_security_fields */ do_action( 'cyclesave_account_security_fields', $user, $user_id ); -
/** * Fires after the password change form is submitted, whether it succeeded or * failed. Allows extra security fields to be saved. */ do_action( 'cyclesave_account_security_save', $user_id, $pw_errors ); -
/** * Filters the list of CycleSave addons displayed on the Integrations tab. */ apply_filters( 'cyclesave_admin_addons', $addons ); -
/** * Filters the list of available extensions shown on the Extensions admin page. */ apply_filters( 'cyclesave_available_extensions', $extensions ); -
/** * Render custom tab content for non-built-in tabs. */ do_action( "cyclesave_dashboard_tab_content_{$active_tab}", $user_id ); -
/** * Filter: cyclesave_dashboard_tabs */ apply_filters( 'cyclesave_dashboard_tabs', [ 'overview' => [ 'label' => __( 'Overview', 'cyclesave' ), 'icon' => $this->dashboard_get_icon( 'overview' ), 'priority' => 10, ], 'groups' => [ 'label' => __( 'Groups', 'cyclesave' ), 'icon' => $this->dashboard_get_icon( 'groups' ), 'priority' => 20, ], 'account' => [ 'label' => __( 'Account Details', 'cyclesave' ), 'icon' => $this->dashboard_get_icon( 'account' ), 'priority' => 30, ], 'payme... ); -
/** * Allow extensions to attach files to outgoing notification emails. */ apply_filters( 'cyclesave_email_attachments', [], $type, $vars ); -
/** * Allow extensions to add placeholders to existing email types. */ apply_filters( 'cyclesave_email_placeholder_map', $placeholder_map ); -
/** * Allow extensions to register additional placeholders. */ apply_filters( 'cyclesave_email_placeholders', $tokens, $type, $vars ); -
/** * Allow third-party code to register or modify email notification types. */ apply_filters( 'cyclesave_email_types', $email_types ); -
/** * Filter the list of enabled gateways. */ apply_filters( 'cyclesave_enabled_gateways', $enabled ); -
/** * Filters whether the extension's required third-party plugin is available. */ apply_filters( 'cyclesave_extension_is_available', true, $id ); -
/** * Filters whether an extension is considered enabled. */ apply_filters( 'cyclesave_extension_is_enabled', $toggled, $id ); -
/** * Fires after free integrations have booted. */ do_action( 'cyclesave_extensions_boot' ); -
/** * Filter the gateway used for a specific group. */ apply_filters( 'cyclesave_gateway_for_group', $default, $group_id ); -
/** * Filter the gateway instance before it is returned. Pro plugins can register * custom gateways by hooking here. */ apply_filters( 'cyclesave_get_gateway', null, $gateway_slug ); -
/** * Allow addons to add new sections (e.g. "Wallet Alerts") or extend existing * sections with new groups or email type keys. */ apply_filters( 'cyclesave_notification_sections', $notification_sections ); -
/** * Fires inside the payment row actions column, after the core buttons. Use * this to append custom action buttons (e.g. Receipt). */ do_action( 'cyclesave_payment_row_actions', $p ); -
/** * Filter to enable/disable redirect to CycleSave dashboard after login. */ apply_filters( 'cyclesave_redirect_to_dashboard_after_login', (bool) Settings::get( 'login_redirection', 0 ), $user ); -
do_action( 'cyclesave_member_joined', $result, $group_id, $user_id ); -
do_action( 'cyclesave_cycle_completed', (int) $_adv_group->id ); -
apply_filters( 'cyclesave_gateway_label', $_info['label'] ?? ucfirst( str_replace( '_', ' ', $_gw ) ), $_gw ); -
do_action( 'cyclesave_round_closed', (int) $payout->round_id, (int) $payout->group_id, (float) $payout->amount ); -
apply_filters( 'cyclesave_activate_license', $default, $license_key ); -
do_action( 'cyclesave_contribution_success', (int) $contribution->id, (int) $contribution->round_id ); -
apply_filters( 'cyclesave_dashboard_receipt_button', '', $c ); -
apply_filters( 'cyclesave_deactivate_license', $default ); -
do_action( 'cyclesave_group_activated', $group_id ); -
do_action( 'cyclesave_payout_completed', $payout_id, (int) $payout_before->collector_user_id ); -
apply_filters( 'cyclesave_admin_gateway_info', [] ); -
do_action( "cyclesave_admin_gateway_settings_{$active_gateway_slug}" ); -
do_action( 'cyclesave_admin_settings_content' ); -
do_action( 'cyclesave_after_notification', $type, $user_id, $group_id, $subject, $body ); -
do_action( 'cyclesave_before_contribution_due', (int) $round->id, (int) $round->group_id ); -
apply_filters( 'cyclesave_billing_countries', $countries ); -
do_action( "cyclesave_checkout_panel_{$_gw}", $panel_context ); -
do_action( "cyclesave_checkout_panel_{$checkout_gateways[0]}", $panel_context ); -
apply_filters( 'cyclesave_contribution_redirect_url', add_query_arg( [ 'csave_action' => $gateway . '_callback', 'csave_order' => $contribution_id, ], home_url( '/' ) ), $gateway, $contribution_id ); -
apply_filters( 'cyclesave_currencies', [ 'AED' => __( 'United Arab Emirates dirham', 'cyclesave' ), 'AFN' => __( 'Afghan afghani', 'cyclesave' ), 'ALL' => __( 'Albanian lek', 'cyclesave' ), 'AMD' => __( 'Armenian dram', 'cyclesave' ), 'ANG' => __( 'Netherlands Antillean guilder', 'cyclesave' ), 'AOA' => __( 'Angolan kwanza', 'cyclesave' ), 'ARS' => __( 'Argentine peso', 'cyclesave' ), 'AUD' => __( 'Australian dollar', 'cyclesave' ),... ); -
apply_filters( 'cyclesave_currency', self::get( 'currency', 'USD', true ) ); -
apply_filters( 'cyclesave_currency_symbol', $symbol, $currency ); -
apply_filters( 'cyclesave_currency_symbols', [ 'AED' => 'د.إ', 'AFN' => '؋', 'ALL' => 'L', 'AMD' => '֏', 'ANG' => 'ƒ', 'AOA' => 'Kz', 'ARS' => '$', 'AUD' => 'A$', 'AWG' => 'ƒ', 'AZN' => '₼', 'BAM' => 'KM', 'BBD' => '$', 'BDT' => '৳', 'BGN' => 'лв', 'BHD' => '.د.ب', 'BIF' => 'FBu', 'BMD' => '$', 'BND' => '$', 'BOB' => 'Bs.', 'BRL' => 'R$', 'BSD' => '$', 'BTC' => '₿', 'BTN' => 'Nu.', 'BWP' => 'P', 'BYN' => 'Br', 'BYR' => 'Br... ); -
apply_filters( 'cyclesave_email_notification_keys', array_merge( ...array_values( $section_keys ) ) ); -
apply_filters( 'cyclesave_email_template_path', $template_file, $template ); -
apply_filters( 'cyclesave_gateway_checkout_info', [] ); -
do_action( 'cyclesave_group_full', (int) $group->id ); -
apply_filters( "cyclesave_handle_payment_return_{$csave_action}", null, $query_vars ); -
apply_filters( 'cyclesave_known_gateways', [ 'stripe', 'bank_transfer', 'store_payment' ] ); -
apply_filters( 'cyclesave_license_api_key_fields', [ 'cyclesave_stripe_publishable_key', 'cyclesave_stripe_secret_key', 'cyclesave_stripe_webhook_secret', ] ); -
apply_filters( 'cyclesave_license_is_active', $status === 'active' ); -
do_action( 'cyclesave_missed_payment', (int) $member->user_id, $round_id ); -
apply_filters( 'cyclesave_notification_section_keys', [ 'member' => [ 'member_joined', 'group_activated', 'round_opened', 'contribution_success', 'payout_completed', 'upcoming_payout', 'payment_reminder', 'missed_payment', 'cycle_completed_member', ], 'admin' => [ 'admin_member_joined', 'group_full_admin', 'round_closed_admin', 'cycle_completed_admin', ], ] ); -
apply_filters( 'cyclesave_payment_subtabs', [ 'settings' => __( 'Payment Settings', 'cyclesave' ), 'methods' => __( 'Payment Methods', 'cyclesave' ), ] ); -
do_action( 'cyclesave_payout_order_changed', $group_id, get_current_user_id(), $change_reason ); -
do_action( 'cyclesave_render_payment_subtab', $payment_subtab ); -
do_action( 'cyclesave_round_opened', $round_id, $group_id ); -
do_action( "cyclesave_save_gateway_settings_{$gateway_slug}", wp_unslash( $_POST ) ); -
do_action( 'cyclesave_send_contribution_reminder', $member, $round, $is_urgent ); -
do_action( 'cyclesave_send_payment_receipt', $member, $amount, $gateway, $reference ); -
apply_filters( 'cyclesave_stripe_payment_method_types', [] ); -
apply_filters( 'cyclesave_stripe_webhooks_whitelist', [ 'payment_intent.succeeded' => new PaymentIntentSucceeded(), 'payment_intent.payment_failed' => new PaymentIntentPaymentFailed(), 'charge.dispute.created' => new ChargeDisputeCreated(), 'charge.refunded' => new ChargeRefunded(), ] ); -
do_action( 'cyclesave_wallet_topup_payment_success', $reference, $event ); -
do_action( 'cyclesave_webhook_event_processed', $event );
Generated from CycleSave'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: