Skip to navigation Skip to main content
Smart Cycle Discounts is now available on WordPress.org — Download Free
🎉 SCD is now available — Download Free
  • WordPress
    WordPress Plugins
    View all
    Smart Cycle Discounts logo

    Smart Cycle Discounts

    Automate discount campaigns with scheduling, analytics, and smart product targeting.

    7 Discount Types Cycle AI
    Free Pro from $59
    TrustLens logo

    TrustLens

    Customer trust intelligence for WooCommerce. Score customers, spot abuse, protect revenue.

    Trust Scores Abuse Detection
    Free Pro from $79

    New Plugin

    Coming Soon

    Something exciting is in the works. Join the waitlist to be first to know.

    Get Notified
    Notify Me
    Secure Checkout
    WordPress.org
    14-Day Refund
    Resources
    Documentation Guides & tutorials
    Discount Calculator Plan your strategy
    Support Get help
    SCD Changelog Discount plugin updates
    TrustLens Changelog Trust intelligence updates
    Get notified on new releases
  • Affiliate
    Program
    Overview How the program works
    How It Works 4 steps from apply to earn
    Commission Details 30% · 60-day cookie · recurring
    Get Started
    Apply Now Open
    Takes ~2 minutes
    Earnings Calculator Estimate your monthly income
    FAQ Payouts, cookies, renewals
    Resources
    Brand Kit Logos, banners, copy, social
    Playbook Tactics that actually convert
    FTC Disclosure How to disclose properly
    Affiliate Terms Full program agreement
    Contact Team Open the contact form
    Earn 30% recurring on every sale Free to join · 60-day cookie · monthly PayPal payouts
    Apply Now
  • Blog
  • DOCS
    Docs & Resources

    Choose a plugin or WooCommerce resource to keep moving

    Smart Cycle Discounts Automated discount campaigns for WooCommerce
    Available
    TrustLens Customer trust intelligence documentation for WooCommerce
    Live
    Docs Home FAQ Calculator Get Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We create WordPress tools that solve real problems.

    Learn more
    Built from Experience Real solutions we use ourselves
    Time is Precious Simple, intuitive tools
    Real Support Talk to the founders
    Legal & Contact
    Contact Us Privacy Policy Terms of Service Refund Policy
    14-Day Money-Back Guarantee No questions asked
GET STARTED

Getting Started

5
  • What is Smart Cycle Discounts?
  • Installation Guide
  • Creating Your First Campaign
  • Plugin Dashboard Overview
  • Free & Pro Features

Campaign Wizard

6
  • Campaign Wizard Overview
  • Step 1 – Basic Information
  • Step 2 – Product Selection
  • Step 3 – Discount Configuration
  • Step 4 – Campaign Scheduling
  • Step 5 – Review & Launch

Product Selection

5
  • All Products Mode
  • Specific Products Mode
  • Random Products Mode
  • Smart Selection Mode
  • Product Search Tips

Discount Types

8
  • Percentage Discounts
  • Fixed Amount Discount
  • Buy One Get One (BOGO)
  • Tiered Volume Pricing
  • Spend Threshold Discounts
  • Bundle Discounts
  • Discount Stacking and Priority
  • Coupon Code Campaigns

Scheduling

5
  • Setting Campaign Dates
  • Timezone Configuration
  • Recurring Campaigns
  • Campaign Status Explained
  • Automatic Activation

Campaign Management

7
  • Campaign List
  • Editing Existing Campaigns
  • Duplicating Campaigns
  • Bulk Actions
  • Campaign Priority System
  • Campaign Overview Panel
  • Campaign Intelligence System

Setting Configuration

5
  • General Settings
  • Display Settings
  • Advanced Settings
  • Tools and Diagnostics
  • License Management

Use Cases

8
  • Coupon Code Campaign
  • Flash Sale Campaign
  • Seasonal Sale Campaign
  • Weekend Sale Recurring
  • BOGO Promotion
  • Volume Discount Campaign
  • Cart Threshold Promotion
  • Bundle Discount Campaign

Developer Documentation

5
  • Hooks and Filters Reference
  • Rest API Overview
  • Custom Discount Integration
  • Template Customization
  • Database Schema

Troubleshooting

6
  • Campaign Not Activating
  • Discounts Not Displaying
  • Scheduling Issues
  • Product Search Not Working
  • Performance Optimization
  • Common Error Messages

FAQ

3
  • General
  • Compatibility
  • Pricing & Licensing

Notifications

5
  • Email Provider Setup
  • Email Notifications Setup
  • Basic Notifications
  • Proactive Alerts
  • Low Stock Alerts

Cycle AI

6
  • What is Cycle AI
  • Creating Campaign With AI
  • Refining With Conversation
  • Managing Campaigns With AI
  • Prompt Writing Tips
  • Rate Limit And Troubleshooting
View Categories
  • Home
  • Docs
  • Smart Cycle Discounts
  • Developer Documentation
  • Hooks and Filters Reference

Hooks and Filters Reference

2 min read

# Hooks and Filters Reference This page documents the current public hooks used by Smart Cycle Discounts (`wsscd_` prefix). ## Action Hooks ### Campaign lifecycle “`php do_action( ‘wsscd_campaign_created’, WSSCD_Campaign $campaign ); do_action( ‘wsscd_campaign_updated’, WSSCD_Campaign $campaign, string $original_status ); do_action( ‘wsscd_campaign_saved’, int $campaign_id, array $data ); do_action( ‘wsscd_campaign_activated’, WSSCD_Campaign $campaign ); do_action( ‘wsscd_campaign_status_changed’, WSSCD_Campaign $campaign, string $from, string $to ); do_action( ‘wsscd_campaign_deleted’, WSSCD_Campaign $campaign ); do_action( ‘wsscd_campaign_expired’, WSSCD_Campaign $campaign ); “` ### Campaign transitions “`php do_action( ‘wsscd_before_campaign_transition’, WSSCD_Campaign $campaign, string $from, string $to, array $context ); do_action( ‘wsscd_after_campaign_transition’, WSSCD_Campaign $campaign, string $from, string $to, array $context ); “` ### Bulk operations “`php do_action( ‘wsscd_campaigns_bulk_activated’, array $campaign_ids ); do_action( ‘wsscd_campaigns_bulk_paused’, array $campaign_ids ); do_action( ‘wsscd_campaigns_bulk_deleted’, array $campaign_ids ); “` ### Notifications / licensing “`php do_action( ‘wsscd_settings_updated’ ); do_action( ‘wsscd_license_activated’ ); do_action( ‘wsscd_license_deactivated’ ); “` ## Filter Hooks ### Discount evaluation “`php apply_filters( ‘wsscd_allowed_product_types’, array $types ); apply_filters( ‘wsscd_is_product_eligible_for_discount’, bool $eligible, WC_Product $product, array $context ); apply_filters( ‘wsscd_is_discount_rule_applicable’, bool $applicable, int $product_id, array $rule, array $context ); “` ### Settings / admin “`php apply_filters( ‘wsscd_default_settings’, array $defaults ); apply_filters( ‘wsscd_settings_tabs’, array $tabs ); apply_filters( ‘wsscd_admin_capabilities’, array $capabilities ); “` ### Cache / theming “`php apply_filters( ‘wsscd_cache_duration’, int $seconds ); apply_filters( ‘wsscd_reference_cache_duration’, int $seconds ); apply_filters( ‘wsscd_theme_colors’, array $colors, string $admin_color_scheme ); “` ### User targeting “`php apply_filters( ‘wsscd_available_user_roles’, array $roles ); apply_filters( ‘wsscd_user_eligible_for_campaign’, bool $eligible, WSSCD_Campaign $campaign, WP_User $user ); “` ## Notes – Legacy `scd_*` hook names are deprecated and should not be used. – If you need an exhaustive list, search the codebase for `do_action(` and `apply_filters(` under `includes/`.
Updated on February 17, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Database SchemaRest API Overview
Newsletter

Insights that grow your business

Join thousands of WooCommerce store owners who get actionable tips, plugin updates, and industry news every week.

We respect your privacy. Unsubscribe at any time.

Weekly updates — Fresh content every Tuesday
Exclusive content — Tips you won't find on our blog
Early access — Be first to know about new plugins
Webstepper
Weekly WooCommerce Tips
Just now
This week: 5 proven strategies to boost your average order value using smart discount campaigns...
New issue!
Webstepper

Tools for store owners who'd rather grow than grind.

Simple, powerful plugins that help WooCommerce store owners sell more — without the learning curve.

500+ happy stores

Products

  • Smart Cycle Discounts
  • TrustLens
  • Discount Calculator
  • Sale Calendar

Company

  • About Us
  • Blog
  • Contact
  • Affiliates

Resources

  • Help Center
  • Guides
  • Roadmap
  • Status
  • Affiliate Program
  • Become a Partner

Questions? We actually answer.

Real humans, real help. No bots, no runaround. Usually within a few hours.

Get in touch
Operated by Setmood LLC · 7901 4th St N, St Petersburg, FL 33702 · United States

© 2026 Webstepper. All rights reserved.

Privacy Terms Refunds
Visa Mastercard PayPal Apple Pay Google Pay & more
Limited Time Offer

Save 15% on
SCD, TrustLens & the Bundle

Smart Cycle Discounts and TrustLens — buy either plugin or grab both in the bundle. Use code at checkout.

WELCOME15
23 hours
:
59 minutes
:
59 seconds
Claim My Discount

  • WordPress
    Back
    WordPress Plugins
    View all
    Smart Cycle Discounts logo

    Smart Cycle Discounts

    Automate discount campaigns with scheduling, analytics, and smart product targeting.

    7 Discount Types Cycle AI
    Free Pro from $59
    TrustLens logo

    TrustLens

    Customer trust intelligence for WooCommerce. Score customers, spot abuse, protect revenue.

    Trust Scores Abuse Detection
    Free Pro from $79

    New Plugin

    Coming Soon

    Something exciting is in the works. Join the waitlist to be first to know.

    Get Notified
    Notify Me
    Secure Checkout
    WordPress.org
    14-Day Refund
    Resources
    Documentation Guides & tutorials
    Discount Calculator Plan your strategy
    Support Get help
    SCD Changelog Discount plugin updates
    TrustLens Changelog Trust intelligence updates
    Get notified on new releases
  • Affiliate
    Back
    Program
    Overview How the program works
    How It Works 4 steps from apply to earn
    Commission Details 30% · 60-day cookie · recurring
    Get Started
    Apply Now Open
    Takes ~2 minutes
    Earnings Calculator Estimate your monthly income
    FAQ Payouts, cookies, renewals
    Resources
    Brand Kit Logos, banners, copy, social
    Playbook Tactics that actually convert
    FTC Disclosure How to disclose properly
    Affiliate Terms Full program agreement
    Contact Team Open the contact form
    Earn 30% recurring on every sale Free to join · 60-day cookie · monthly PayPal payouts
    Apply Now
  • Blog
  • DOCS
    Back
    Docs & Resources

    Choose a plugin or WooCommerce resource to keep moving

    Smart Cycle Discounts Automated discount campaigns for WooCommerce
    Available
    TrustLens Customer trust intelligence documentation for WooCommerce
    Live
    Docs Home FAQ Calculator Get Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Back
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We create WordPress tools that solve real problems.

    Learn more
    Built from Experience Real solutions we use ourselves
    Time is Precious Simple, intuitive tools
    Real Support Talk to the founders
    Legal & Contact
    Contact Us Privacy Policy Terms of Service Refund Policy
    14-Day Money-Back Guarantee No questions asked
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.
More info More info Accept