This document covers the public scheduling helpers exposed by Action Scheduler. Overview Use these functions to enqueue or schedule actions to run now, once in the future, on a fixed...
Base class for all scheduled actions. It encapsulates the hook to execute, arguments, schedule, group, and priority. It is the default class used for stored actions with status pending (see...
Location: /inc/Engine/AI/Tools/BaseTool.php Since: v0.14.10 Purpose: Unified abstract base class for all AI tools (global and chat). Provides standardized error handling and tool registration through inheritance. Overview The BaseTool class provides...
The Payment Service coordinates the complete payment workflow using Stripe integration and job management. Payment Workflow Checkout Creation Validate Stripe configuration Calculate pricing with markup Create job record in database...
The Upscaling Service coordinates AI image processing through Upsampler API integration and file management. Processing Workflow Upscaling Process Receive payment completion trigger Submit image to Upsampler API Monitor processing status...
The complete customer purchase workflow from button click to download delivery. Workflow Overview Complete Process Flow Customer clicks download button on image Modal opens with pricing and resolution options Customer...
The AI-powered image upscaling workflow using Upsampler API integration. Workflow Initiation Payment Trigger Upscaling begins when payment is confirmed: // Triggered by Stripe webhook do_action('smi_payment_completed', $job_id); // Upscaling service responds...
The File Manager is responsible for securely downloading the upscaled image from the Upsampler temporary URL and storing it locally. It does not serve downloads to customers (that is handled...
The Job Manager handles the complete lifecycle of image processing requests from creation to completion. Job Lifecycle Status Progression awaiting_payment - Stripe checkout session created pending - Payment confirmed, ready...
The Webhook Manager provides a shared routing and utility layer for external service webhooks. Its primary goal is to make webhook handling reliable (by using parse_request) and centralized (so Stripe/Upsampler...