DoubleScale CRM 1.10.1 has 175 actions and 338 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 DoubleScale CRM fires an action
add_action( 'doublescale_contact_owner_changed', function( $id, $current, $owner ) {
// Your code runs here.
}, 10, 3 );
// Change a value DoubleScale CRM is about to use
add_filter( 'doublescale_support_ticket_service_instance', function( $value ) {
// Change $value here.
return $value;
}, 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.
Changes by version
1.9.10 → 1.10.1 · Nov 19, 2026 · 23 added, 0 removed
Added
- filter
doublescale_engine_check_installed_version - filter
doublescale_task_record_entity_available - filter
doublescale_module_news - filter
doublescale_client_ip - filter
doublescale_team_member_data - filter
doublescale_team_access_extras - action
doublescale_team_member_access_saved - filter
doublescale_team_member_role_enabled - filter
doublescale_attachment_max_count - filter
doublescale_help_center_help_options - filter
doublescale_help_center_accent - action
doublescale_kb_feedback_reason - filter
doublescale_kb_article_base - action
doublescale_kb_article_saved - action
doublescale_kb_article_deleted - action
doublescale_kb_betterdocs_imported - action
doublescale_portal_notification_added - filter
doublescale_support_ticket_view_ids - filter
doublescale_support_reply_email_now - filter
doublescale_support_status_email_body - action
doublescale_profile_photo_changed - filter
doublescale_public_ticket_daily_cap - action
doublescale_support_ticket_merged
All hooks
-
/** * This filter is documented in RestTicketController::service(). */ apply_filters( 'doublescale_support_ticket_service_instance', null ); -
/** * This action is documented in RestContactController::flush_owner_change(). */ do_action( 'doublescale_contact_owner_changed', (int) $contact->id, $current, $owner ); -
/** * This action is documented in * RestUserManagementController::assign_crm_role(). */ do_action( 'doublescale_user_role_revoked', $user->ID, $role ); -
/** * Last chance for another module to veto a send. */ apply_filters( 'doublescale_sales_send_gate', null, 'invoice', $invoice ); -
/** * The same gate the REST controller honours, so Pro's approval workflow still * intercepts a locked document rather than being bypassed by a different * surface. */ apply_filters( 'doublescale_sales_update_gate', null, $type, $document ); -
/** * This action is documented in * RestUserManagementController::assign_crm_role(). */ do_action( 'doublescale_user_role_assigned', $user->ID, $role ); -
/** * Fires after a scheduled action has been completed. */ do_action( 'action_scheduler_completed_action', $action_id ); -
/** * Fires when Action Scheduler is ready: it is safe to use the procedural API * after this point. */ do_action( 'action_scheduler_init' ); -
/** * Fires before an automation is deleted. SaaS form integrations use this to * remove an inbound webhook that is no longer needed. */ do_action( 'doublescale_automation_deleted', $automation ); -
/** * Fires after an automation is created (and its trigger settings stored). */ do_action( 'doublescale_automation_saved', $automation, null ); -
/** * Filter the resolved Client Portal page URL. */ apply_filters( 'doublescale_client_portal_page_url', $url ); -
/** * Filters who is copied on a invoice email (a company invoice's billing * contacts). */ apply_filters( 'doublescale_document_cc', array(), (int) $invoice->contact_id, $invoice->company_id ? (int) $invoice->company_id : null, $to ); -
/** * Filter merge tag groups */ apply_filters( 'doublescale_mail_merge_tag_groups', $this->groups ); -
/** * Allow Pro modules to append customer-visible document rows before sort. */ apply_filters( 'doublescale_portal_documents_rows', $rows, $contact, $type ); -
/** * Filter the cached sales invoice page URL. */ apply_filters( 'doublescale_sales_invoice_page_url', $cached ); -
/** * Build a PayableSubject for an invoice. */ apply_filters( 'doublescale_sales_invoice_payable_subject', null, $invoice ); -
/** * Filter the cached sales proposal page URL. */ apply_filters( 'doublescale_sales_proposal_page_url', $cached ); -
/** * Fires when force from email is applied. */ do_action( 'doublescale_smtp_force_from_email_applied', $connection_from_email, $original_from, $default_connection_id ); -
/** * Fires when force from name is applied. */ do_action( 'doublescale_smtp_force_from_name_applied', $connection_from_name, $original_from_name, $default_connection_id ); -
/** * Filters SMTP email body. */ apply_filters( 'doublescale_smtp_smtp_mailer_get_body', $this->body ); -
/** * Filters SMTP email headers. */ apply_filters( 'doublescale_smtp_smtp_mailer_get_headers', $this->headers ); -
/** * Filter the cached support portal page URL. */ apply_filters( 'doublescale_support_portal_page_url', $cached ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_post_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_url", $url ); -
/** * Allow custom processing before updating a table schema. */ do_action( 'action_scheduler_before_schema_update', $table, $this->db_version ); -
action_scheduler_claim_actions_order_by
filter Used by 112 plugins → Copy link Customise this hook/** * Sets the order-by clause used in the action claim query. */ apply_filters( 'action_scheduler_claim_actions_order_by', 'ORDER BY priority ASC, attempts ASC, scheduled_date_gmt ASC, action_id ASC', $claim_id, $hooks ); -
/** * Filter the batch size when cleaning the queue. */ apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ); -
action_scheduler_db_supports_skip_locked
filter Used by 76 plugins → Copy link Customise this hook/** * Filter whether the database supports the SKIP LOCKED modifier for queries. */ apply_filters( 'action_scheduler_db_supports_skip_locked', $is_supported ); -
action_scheduler_default_cleaner_statuses
filter Used by 98 plugins → Copy link Customise this hook/** * Filter the statuses when cleaning the queue. */ apply_filters( 'action_scheduler_default_cleaner_statuses', $this->default_statuses_to_purge ); -
action_scheduler_ensure_recurring_actions
action Used by 76 plugins → Copy link Customise this hook/** * Fires to allow extensions to verify and ensure their recurring actions are * scheduled. */ do_action( 'action_scheduler_ensure_recurring_actions' ); -
/** * Allows 3rd party code to add extra action counts (used in filters in the * list table). */ apply_filters( 'action_scheduler_extra_action_counts', $extra_actions ); -
/** * Notify 3rd party code of exceptions when deleting a completed action older * than the retention period */ do_action( "action_scheduler_failed_{$context}_action_deletion", $action_id, $e, $lifespan, count( $actions_to_delete ) ); -
/** * Runs when action execution fails. */ do_action( 'action_scheduler_failed_execution', $action_id, $e, $context ); -
/** * Runs when action validation fails. */ do_action( 'action_scheduler_failed_validation', $action_id, $e, $context ); -
/** * Fires in the early stages of Action Scheduler init hook. */ do_action( 'action_scheduler_pre_init' ); -
action_scheduler_queue_runner_flush_cache
filter Used by 120 plugins → Copy link Customise this hook/** * When an external object cache is in use, and when wp_cache_flush_runtime() * is not available, then normally the cache will not be flushed after * processing a batch of actions (to avoid a performance penalty for other * processes). */ apply_filters( 'action_scheduler_queue_runner_flush_cache', false ); -
action_scheduler_recurring_action_failure_threshold
filter Used by 100 plugins → Copy link Customise this hook/** * Controls the failure threshold for recurring actions. */ apply_filters( 'action_scheduler_recurring_action_failure_threshold', 5 ); -
action_scheduler_recurring_action_is_consistently_failing
filter Used by 96 plugins → Copy link Customise this hook/** * If a recurring action is assessed as consistently failing, it will not be * rescheduled. This hook provides a way to observe and optionally override * that assessment. */ apply_filters( 'action_scheduler_recurring_action_is_consistently_failing', $first_action_id_with_the_same_hook === $first_failing_action_id, $action ); -
/** * Filter the minimum scheduled date age for action deletion. */ apply_filters( 'action_scheduler_retention_period', $this->month_in_seconds ); -
action_scheduler_stored_action_instance
filter Used by 120 plugins → Copy link Customise this hook/** * Allow 3rd party code to change the instantiated action for a given hook, * args, schedule and group. */ apply_filters( 'action_scheduler_stored_action_instance', $action, $hook, $args, $schedule, $group, $priority ); -
/** * Filter whether the DoubleScale abilities layer registers at all. */ apply_filters( 'doublescale_abilities_enabled', true ); -
/** * Fires after the free abilities are registered. */ do_action( 'doublescale_abilities_registered' ); -
/** * Fires after one row in a bulk write succeeds. */ do_action( 'doublescale_ability_bulk_item', $ability_name, $index, $result, $batch_id, (int) get_current_user_id() ); -
/** * Filter the per-ability bulk write cap. */ apply_filters( 'doublescale_ability_bulk_max_items', self::DEFAULT_MAX_ITEMS, $ability_name ); -
/** * Filter the collected ability definitions before registration. */ apply_filters( 'doublescale_ability_definitions', $definitions ); -
/** * Fires on an unhandled ability exception, before the sanitised WP_Error is * returned to the caller. */ do_action( 'doublescale_ability_exception', $e, $name, $input, $error_id ); -
/** * Fires after a mutating ability succeeds. */ do_action( 'doublescale_ability_write', $name, $input, $result, get_current_user_id() ); -
/** * Filter the aggregated admin calendar events for the window. */ apply_filters( 'doublescale_admin_calendar_events', array(), array( $start, $end_inclusive ), $viewer_id, $view_user ); -
/** * Most files one contact (or Pro's project, deal or task) can hold. */ apply_filters( 'doublescale_attachment_max_count', self::CONTACT_ATTACHMENT_MAX_COUNT, 'contact' ); -
/** * Fires when a contact completes an automation. */ do_action( 'doublescale_automation_contact_complete', $this->automation, $automation_contact ); -
/** * Fires when a contact enters an automation. */ do_action( 'doublescale_automation_contact_enter', $this->automation, $automation_contact ); -
/** * Fires when a contact jumps ahead to a goal it achieved early. */ do_action( 'doublescale_automation_goal_jumped', $automation, $run, $waiting_id, $target ); -
/** * Fires when an automation step fails. */ do_action( 'doublescale_automation_step_failure', $this->automation, $automation_contact, $current_step ); -
/** * Files deleted per batch. */ apply_filters( 'doublescale_booking_confirm_ics_cleanup_batch', self::BATCH ); -
/** * Filter the booking "details" URL used by the {{booking.details_url}} merge * tag. The Client Portal module re-points this to the customer-facing portal * booking detail when a portal page exists, falling back to this admin URL * otherwise. */ apply_filters( 'doublescale_booking_details_url', $admin_url, $this ); -
/** * Fires after free booking module is fully booted (caps, admin config, * provisioner hooks all registered). Pro extensions hook here when they need * free's wiring already in place — e.g. to register their own * `rest_api_init` primers. */ do_action( 'doublescale_booking_module_boot', $container ); -
/** * Fires after free booking module bindings are registered. */ do_action( 'doublescale_booking_module_register', $container ); -
/** * Filter the payment provider status payload. */ apply_filters( 'doublescale_booking_payment_provider_status', $payload ); -
/** * Filter the organizer SMS phone resolution payload. */ apply_filters( 'doublescale_booking_sms_organizer_phone_status', $payload, $event ); -
/** * Filter the SMS provider status payload. */ apply_filters( 'doublescale_booking_sms_provider_status', $payload ); -
/** * Fires before a campaign row is deleted, so other schedulers can drop work * keyed to it. */ do_action( 'doublescale_campaign_before_delete', $campaign_id ); -
/** * Fires when a campaign is completed successfully. */ do_action( 'doublescale_campaign_complete', $campaign, $recipients_count, $this->channel ); -
/** * Fires when a campaign fails before dispatching anything. */ do_action( 'doublescale_campaign_failed_early', $campaign, $reason ); -
/** * Fires when a campaign fails. */ do_action( 'doublescale_campaign_failure', $campaign, $error_message, $this->channel ); -
/** * Fires when a campaign is scheduled. */ do_action( 'doublescale_campaign_schedule', $campaign, $campaign->execute_at ); -
/** * Whether a campaign should give way this run (Pro: workflow messages waiting * in the send queue go first on the shared limits). */ apply_filters( 'doublescale_campaign_should_yield', false, (string) $ctx->channel ); -
/** * Filters whether a campaign channel can currently send. */ apply_filters( 'doublescale_channel_sendable', $sendable, $channel ); -
/** * Filters the address public limits count against. */ apply_filters( 'doublescale_client_ip', $ip, $remote ); -
/** * Filter the brand heading shown above the Client Portal login gate. */ apply_filters( 'doublescale_client_portal_brand_title', $heading ); -
/** * Filter the Client Portal renderer config. Domain modules contribute their * own keys (e.g. the Support module adds the support REST bases, attachment * limits and custom-fields flag the reused ticket views need). */ apply_filters( 'doublescale_client_portal_config', $config, $user ); -
/** * Filter arguments passed to {@see wp_login_form()} on the portal page. */ apply_filters( 'doublescale_client_portal_login_form_args', array( 'echo' => false, 'redirect' => $redirect, 'remember' => true, 'value_remember' => true, 'form_id' => 'doublescale-client-portal-loginform', 'label_username' => __( 'Username or Email Address', 'doublescale' ), 'label_password' => __( 'Password', 'doublescale' ), 'label_remember' => __( 'Remember Me', 'doublescale' ), 'label_log_in' => __( 'Log In', 'doublescale' ), ), $redirect ); -
/** * Filter the headline shown above the portal login form. */ apply_filters( 'doublescale_client_portal_login_message', $texts['title'] ); -
/** * Filter the line under the login headline. */ apply_filters( 'doublescale_client_portal_login_subtitle', $texts['subtitle'] ); -
/** * Filter the message shown when staff visit the customer portal. */ apply_filters( 'doublescale_client_portal_staff_notice', __( 'The Client Portal is only accessible by customers. Looks like you are a staff member.', 'doublescale' ) ); -
/** * Filters the automatic-merge notification before it is sent. */ apply_filters( 'doublescale_contact_auto_merge_email', array( 'to' => $recipient, 'subject' => $subject, 'body' => implode( "\n", $lines ), ), $merged, (string) $reason ); -
/** * Fires after a duplicate is merged without human review. */ do_action( 'doublescale_contact_auto_merged', $merged, $preview, (string) $reason ); -
/** * Fires when a user becomes a collaborator on a contact. */ do_action( 'doublescale_contact_collaborator_added', $contact_id, $user_id, $reason ); -
/** * Fires once for every newly created contact, whatever its status. */ do_action( 'doublescale_contact_created', $contact ); -
/** * Fires inside the merge transaction, after data is moved and before commit. */ do_action( 'doublescale_contact_merge_before_commit', (int) $primary['id'], (int) $source['id'] ); -
/** * Fires inside the merge transaction, before contact meta is combined. */ do_action( 'doublescale_contact_merge_before_meta', (int) $primary['id'], (int) $source['id'], $primary, $source, $overrides ); -
/** * Lines of the note a merge leaves on the merged contact. */ apply_filters( 'doublescale_contact_merge_note_lines', $lines, (int) $primary_id, $source ); -
/** * A contact's phone or WhatsApp number changed (or was removed). */ do_action( 'doublescale_contact_number_changed', $this, $field, (string) $old, (string) $this->getAttribute( $field ) ); -
/** * Filter the contact summary. */ apply_filters( 'doublescale_contact_summary', $summary, $contact_id ); -
/** * Fires after a contact's profile information is updated. */ do_action( 'doublescale_contact_update', $contact, $context ); -
/** * Filters how many contacts a single bulk batch processes. */ apply_filters( 'doublescale_contacts_bulk_batch_size', 100 ); -
/** * Filter a channel's shared daily send cap (null for none). */ apply_filters( 'doublescale_daily_send_limit', $limit, $channel ); -
/** * Filter the default calling code (digits only, no "+") used to complete * national phone numbers into E.164 when writing whatsapp_phone. */ apply_filters( 'doublescale_default_calling_code', $base_code ); -
/** * A document's client changed: its old link no longer opens it. */ do_action( 'doublescale_document_client_changed', $segment, $old_contact, $old_hash, $document ); -
/** * The DoubleScale version the site runs (tests stand in an older one, since * this check is about the step from below 1.8.0). */ apply_filters( 'doublescale_engine_check_installed_version', $installed ); -
/** * Fires when a contact export completes. */ do_action( 'doublescale_export_completed', get_current_user_id(), $this->offset, $total_contacts ); -
/** * The help center's accent colour (links, buttons, the current item). */ apply_filters( 'doublescale_help_center_accent', \DoubleScale\Core\Settings\BrandColor::get() ); -
/** * The "Can't find what you need?" choices on the help center. */ apply_filters( 'doublescale_help_center_help_options', $options ); -
/** * Whether DoubleScale Pro is active for this request. */ apply_filters( 'doublescale_is_pro_addon_active', $active ); -
/** * Filter the address base of help-center article pages. */ apply_filters( 'doublescale_kb_article_base', '' !== $base ? $base : 'help' ); -
/** * A BetterDocs import batch finished. */ do_action( 'doublescale_kb_betterdocs_imported', $now ); -
/** * A reader said what an article was missing. */ do_action( 'doublescale_kb_feedback_reason', $article, $reason ); -
/** * Filters the owner chosen for a new contact. */ apply_filters( 'doublescale_lead_router_owner', $owner, $source, $context ); -
/** * Pro registers its 12 blocks here (Banner, Divider, Html, Image, Menu, * Preheader, Product, SocialMedia, Table, Timer, Video). Unregistered types * fall back to an empty string in render_block(), so email templates that * reference Pro blocks while Pro is inactive simply skip those blocks rather * than fataling. */ do_action( 'doublescale_mail_block_register', $this ); -
/** * Fires the first time an email is opened. */ do_action( 'doublescale_mail_open', $contact, $tracking_entry, $via ); -
/** * Add or change announcements (Pro and add-ons). */ apply_filters( 'doublescale_module_news', $items ); -
/** * Filter the notification channels available on this install. */ apply_filters( 'doublescale_notification_allowed_channels', array( self::EMAIL ) ); -
/** * Filter the daily notification email limit */ apply_filters( 'doublescale_notification_email_daily_limit', self::DAILY_LIMIT ); -
/** * Filters the columns offboarding reassigns. */ apply_filters( 'doublescale_owned_record_columns', $columns ); -
/** * Filter the backoff delay applied after a failed mailbox poll. */ apply_filters( 'doublescale_poll_backoff_delay', $delay, $failures, $this->key ); -
/** * Narrow what a customer can see in the Client Portal. */ apply_filters( 'doublescale_portal_access', $access, $contact ); -
/** * A contact's own Client Portal access changed. */ do_action( 'doublescale_portal_access_updated', $contact_id, $before, $after ); -
/** * Filter the aggregated portal calendar events for the window. */ apply_filters( 'doublescale_portal_calendar_events', array(), $contact, $start, $end_inclusive ); -
/** * Whether the active DoubleScale Pro supports customer file uploads. */ apply_filters( 'doublescale_portal_client_uploads_supported', false ); -
/** * Filters the signed-in client's company (DoubleScale Pro's companies). */ apply_filters( 'doublescale_portal_company', null, (int) $contact->id ); -
/** * Custom fields the client sees on their portal profile (DoubleScale Pro): [ * id, label, type, value, options, required, editable ]. */ apply_filters( 'doublescale_portal_contact_custom_fields', array(), $contact, ! empty( PortalAccess::for_contact( $contact )['profile_edit'] ) ); -
/** * Check the custom field values a client sent from the portal profile. */ apply_filters( 'doublescale_portal_contact_custom_fields_prepare', null, $contact, $custom ); -
/** * Save the checked custom field values from the portal profile. */ do_action( 'doublescale_portal_contact_custom_fields_save', $contact, (array) $custom_prepared['values'] ); -
/** * A PDF for another document type of the client's (Pro: credit notes, * contracts). Return the bytes, or null. */ apply_filters( 'doublescale_portal_document_pdf', null, $type, $id, $contact_id ); -
/** * Register an area of the Client Portal an admin can show or hide. */ apply_filters( 'doublescale_portal_features', array() ); -
/** * A notification was added to a client's bell (Pro's real-time relay tells * their open portal to show it). */ do_action( 'doublescale_portal_notification_added', $id, $contact_id ); -
/** * Filters who gets a portal notification about a company record. */ apply_filters( 'doublescale_portal_notification_recipients', $ids, (string) $note['type'], $record ); -
/** * Filters the companies whose records a portal client sees in an area * (DoubleScale Pro's companies; none without them). */ apply_filters( 'doublescale_portal_scope_company_ids', array(), $contact_id, $area ); -
/** * Filter the registered Client Portal sections. */ apply_filters( 'doublescale_portal_sections', array() ); -
/** * Credit the client has not used yet, by currency (Pro's credit notes). */ apply_filters( 'doublescale_portal_statement_available_credit', array(), $contact ); -
/** * Whether Pro adds the client's credit notes to the statement. When it does, * the payment rows applying them are left out (counted once). */ apply_filters( 'doublescale_portal_statement_credit_notes', false, $contact ); -
/** * More charges or credits on the client's statement (Pro: credit notes). Each * row: type, date (Y-m-d), number, currency, charge, credit, hash. */ apply_filters( 'doublescale_portal_statement_rows', $rows, $contact ); -
/** * Filter the portal dashboard summary cards. */ apply_filters( 'doublescale_portal_summary_cards', array(), $contact ); -
/** * Whether a portal client may see a project's tickets. */ apply_filters( 'doublescale_portal_ticket_project_allowed', false, $project_id, (int) $contact->id ); -
/** * The linked project as a portal client may see it (null = hide it). */ apply_filters( 'doublescale_portal_ticket_project_summary', null, $project_id, (int) $contact->id ); -
/** * Filter the customer-safe activity types shown in the portal timeline. */ apply_filters( 'doublescale_portal_timeline_activity_types', array() ); -
/** * Filter the merged portal timeline items before sort/paging. */ apply_filters( 'doublescale_portal_timeline_items', $items, $contact ); -
/** * Whether a new login counts as its email's owner from the start. */ apply_filters( 'doublescale_portal_trust_new_login', $trusted, (int) $user_id ); -
/** * Filter the file types customers may upload from the portal. */ apply_filters( 'doublescale_portal_upload_types', self::TYPES ); -
/** * Fires after a portal account was created for a contact. */ do_action( 'doublescale_portal_user_created', (int) $user_id, $contact ); -
/** * Allow Pro modules to include additional customer-visible documents. */ apply_filters( 'doublescale_portal_visible_document_count', $count, $contact ); -
/** * Whether the active DoubleScale Pro ships its own WhatsApp engine. */ apply_filters( 'doublescale_pro_messaging_engine_capable', false ); -
/** * Filter the available notification categories */ apply_filters( 'doublescale_pro_notification_categories', $categories ); -
/** * Filter the default notification preferences */ apply_filters( 'doublescale_pro_notification_preferences_defaults', $defaults ); -
/** * Filter the list of Pro plugin basenames used for install/active detection. */ apply_filters( 'doublescale_pro_plugin_basenames', $basenames ); -
/** * A team member's photo changed (added, replaced or removed): lets the chat's * cached faces refresh. */ do_action( 'doublescale_profile_photo_changed', $user_id ); -
/** * Filter the customer-facing invoice payload (public page and portal). */ apply_filters( 'doublescale_public_invoice_payload', $payload, $invoice ); -
/** * Filters how many help center form requests the whole site takes a day. */ apply_filters( 'doublescale_public_ticket_daily_cap', self::PER_DAY ); -
/** * Fires after the DoubleScale (free) modular stack is fully initialized. */ do_action( 'doublescale_ready' ); -
/** * Filter whether the boot-time schema reconciliation runs. */ apply_filters( 'doublescale_reconcile_schema_on_boot', true ); -
/** * Filters the company a record belongs to. */ apply_filters( 'doublescale_record_company_id', null, (int) $contact_id, $requested ); -
/** * Fires after a user's records were handed to someone else. */ do_action( 'doublescale_records_reassigned', $from_user_id, $to_user_id, $moved ); -
/** * Allow extensions (e.g. DoubleScale Pro) to register additional modules * before boot. */ do_action( 'doublescale_register_modules', $this->module_registry ); -
/** * Let other plugins (Pro) attach additional notification listeners and * channels after the free engine has booted. Fires once, right after the free * listeners are wired and while the module registry is still booting, so any * `doublescale_notification_allowed_channels` filters Pro adds here are in * place before the first notification is created. */ do_action( 'doublescale_register_notification_listeners', $container ); -
/** * Filter whether the Client Portal Documents surface is available. */ apply_filters( 'doublescale_sales_documents_ready', $ready ); -
/** * Filter the files attached to the invoice email. */ apply_filters( 'doublescale_sales_invoice_email_attachments', array(), $invoice ); -
/** * Fires immediately before an invoice payment row is deleted. */ do_action( 'doublescale_sales_invoice_payment_deleting', $this ); -
/** * Filter the public invoice URL. */ apply_filters( 'doublescale_sales_invoice_public_url', $url, $invoice ); -
/** * Fires once an invoice has been delivered. */ do_action( 'doublescale_sales_invoice_sent', $invoice, $message, $channel ); -
/** * Register additional online payment gateway slugs for invoices. */ apply_filters( 'doublescale_sales_online_payment_gateway_slugs', $slugs ); -
/** * Filter whether invoice online payments are available. */ apply_filters( 'doublescale_sales_online_payments_available', $available ); -
/** * Human-readable reason a gateway is available but not yet configured. */ apply_filters( 'doublescale_sales_payment_gateway_configuration_hint', $hint, (string) $gateway->slug ); -
/** * Filter the public proposal URL. */ apply_filters( 'doublescale_sales_proposal_public_url', $url, $proposal ); -
/** * Filter the sales settings defaults, so add-ons (Pro e-invoicing) can own * keys that are read and saved alongside these. */ apply_filters( 'doublescale_sales_settings_defaults', self::base_defaults() ); -
/** * Sanitise add-on keys before they are saved. Only keys returned here are * stored, so an add-on cannot be bypassed by posting raw values. */ apply_filters( 'doublescale_sales_settings_sanitize', array(), $merged ); -
/** * Whether a configured WhatsApp provider can send documents without the admin * opening wa.me — Pro answers this filter. */ apply_filters( 'doublescale_sales_whatsapp_auto_available', false ); -
/** * Filter the composed WhatsApp message for a sales document. */ apply_filters( 'doublescale_sales_whatsapp_message', $text, $type, $document ); -
/** * Send a sales document over WhatsApp through a configured provider. */ apply_filters( 'doublescale_sales_whatsapp_send', null, $type, $document, $payload ); -
/** * Fires after a shortcode page is adopted or created. */ do_action( 'doublescale_shortcode_page_provisioned', $shortcode ); -
/** * Fires after summary email HTML output. */ do_action( 'doublescale_smtp_after_summary_email' ); -
/** * Fires before summary email HTML output. */ do_action( 'doublescale_smtp_before_summary_email' ); -
/** * Fires when SMTP connections (or the default connection) change. */ do_action( 'doublescale_smtp_connections_updated', Settings::get( 'connections', array() ) ); -
/** * Filters ElasticEmail email body. */ apply_filters( 'doublescale_smtp_elasticemail_mailer_get_body', $this->body ); -
/** * Filters Emailit email body. */ apply_filters( 'doublescale_smtp_emailit_mailer_get_body', $body ); -
/** * Filters Emailit email headers. */ apply_filters( 'doublescale_smtp_emailit_mailer_get_headers', $this->headers ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_loops_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_loops_mailer_get_headers', $this->headers ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_mailersend_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_mailersend_mailer_get_headers', $this->headers ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_mailgun_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_mailgun_mailer_get_headers', $this->headers ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_mailjet_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_mailjet_mailer_get_headers', $this->headers ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_mandrill_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_mandrill_mailer_get_headers', $this->headers ); -
/** * Filter the matched connection ID */ apply_filters( 'doublescale_smtp_matched_connection', $connection_id, $from_email, $connection ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_postmark_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_postmark_mailer_get_headers', $this->body['Headers'] ?? array() ); -
/** * Filters Sendgrid email headers. */ apply_filters( 'doublescale_smtp_sendgrid_mailer_get_headers', $this->headers ); -
/** * Filters Sendinblue email body. */ apply_filters( 'doublescale_smtp_sendinblue_mailer_get_body', $this->body ); -
/** * Filters Sendinblue email headers. */ apply_filters( 'doublescale_smtp_sendinblue_mailer_get_headers', $this->body['headers'] ?? array() ); -
/** * Filters SendLayer email body. */ apply_filters( 'doublescale_smtp_sendlayer_mailer_get_body', $this->body ); -
/** * Filters SendLayer email headers. */ apply_filters( 'doublescale_smtp_sendlayer_mailer_get_headers', $this->body['Headers'] ?? array() ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_smtp2go_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_smtp2go_mailer_get_headers', $this->headers ); -
/** * Filters SMTPcom email body. */ apply_filters( 'doublescale_smtp_smtpcom_mailer_get_body', $this->body ); -
/** * Filters SMTPcom email headers. */ apply_filters( 'doublescale_smtp_smtpcom_mailer_get_headers', $this->body['custom_headers'] ?? array() ); -
/** * Filters Postmark email body. */ apply_filters( 'doublescale_smtp_socketlabs_mailer_get_body', $this->body ); -
/** * Filters Postmark email headers. */ apply_filters( 'doublescale_smtp_socketlabs_mailer_get_headers', $this->headers ); -
/** * Filters SparkPost email body. */ apply_filters( 'doublescale_smtp_sparkpost_mailer_get_body', $this->body ); -
/** * Filters SparkPost email headers. */ apply_filters( 'doublescale_smtp_sparkpost_mailer_get_headers', $this->body['content']['headers'] ?? array() ); -
/** * Filters summary email content type. */ apply_filters( 'doublescale_smtp_summary_email_content_type', $content_type ); -
/** * Filters summary email headers. */ apply_filters( 'doublescale_smtp_summary_email_headers', $headers ); -
/** * Filters summary email HTML body. */ apply_filters( 'doublescale_smtp_summary_email_message', $message ); -
/** * Filters path to summary email PHP template. */ apply_filters( 'doublescale_smtp_summary_email_template', $template ); -
/** * Filters toSend email body. */ apply_filters( 'doublescale_smtp_tosend_mailer_get_body', $body ); -
/** * Filters toSend email headers. */ apply_filters( 'doublescale_smtp_tosend_mailer_get_headers', $this->headers ); -
/** * Short-circuit or augment validation. */ apply_filters( 'doublescale_smtp_validate_connections', null, $settings ); -
/** * Fires when SMTP2GO email data is being sent or received. */ do_action( 'doublescale_smtp2go_curl_multi_log', $email, $request_data, $response, $http_code, $error, $type ); -
/** * Filters the colleagues copied on a company ticket's email. */ apply_filters( 'doublescale_support_company_cc', array(), $ticket, $to ); -
/** * Fires after a mailbox is deleted and its tickets re-pointed. */ do_action( 'doublescale_support_mailbox_deleted', $id, $fallback ); -
/** * Fires when an internal note is added to a ticket. */ do_action( 'doublescale_support_note_created', $activity, $ticket ); -
/** * Filter the brand title shown above the customer portal login gate. */ apply_filters( 'doublescale_support_portal_brand_title', sprintf( __( '%s Support', 'doublescale' ), \DoubleScale\Modules\Portal\Services\PortalLoginSettings::default_heading() ) ); -
/** * Filter arguments passed to {@see wp_login_form()} on the portal page. */ apply_filters( 'doublescale_support_portal_login_form_args', array( 'echo' => false, 'redirect' => $redirect, 'remember' => true, 'value_remember' => true, 'form_id' => 'doublescale-support-portal-loginform', 'label_username' => __( 'Username or Email Address', 'doublescale' ), 'label_password' => __( 'Password', 'doublescale' ), 'label_remember' => __( 'Remember Me', 'doublescale' ), 'label_log_in' => __( 'Log In', 'doublescale' ), ), $redirect ); -
/** * Filter the headline shown above the portal login form. */ apply_filters( 'doublescale_support_portal_login_message', __( 'Please login or create an account to access the Customer Support Portal', 'doublescale' ) ); -
/** * Filter the message shown when support staff visit the customer portal. */ apply_filters( 'doublescale_support_portal_staff_notice', __( 'Customer Portal is only accessible by Customers. Looks like you are a support staff', 'doublescale' ) ); -
/** * Fires when a customer-visible reply is added to a ticket. */ do_action( 'doublescale_support_reply_created', $activity, $ticket ); -
/** * Whether the team's reply is emailed to the customer now. DoubleScale Pro * holds it while the customer is answered in its help chat, and emails it * later only if it was not seen there. */ apply_filters( 'doublescale_support_reply_email_now', true, $activity, $ticket ); -
/** * The customer's "solved / closed" email body, after the mailbox's template * (DoubleScale Pro ends it with rating faces). */ apply_filters( 'doublescale_support_status_email_body', $inner, $t, $new_status ); -
/** * Fires after a support ticket is created (including its opening message). */ do_action( 'doublescale_support_ticket_created', $ticket ); -
/** * Fires after a ticket has been removed (post-cascade). */ do_action( 'doublescale_support_ticket_deleted', $id ); -
/** * Fires after a ticket was merged into another of the same customer. */ do_action( 'doublescale_support_ticket_merged', $merged, $target ); -
/** * Filter the customer portal URL for a support ticket. */ apply_filters( 'doublescale_support_ticket_portal_url', $url, $ticket ); -
/** * Filter the public guest URL for a support ticket. */ apply_filters( 'doublescale_support_ticket_public_url', $url, $ticket ); -
/** * Fires when a ticket's workflow state changes. */ do_action( 'doublescale_support_ticket_updated', $ticket, $effective, $before ); -
/** * The ticket ids in a named inbox view, or null for a view nobody knows. */ apply_filters( 'doublescale_support_ticket_view_ids', null, $view, $request ); -
/** * Fires after tickets are bulk-moved between mailboxes. */ do_action( 'doublescale_support_tickets_moved', $id, $new_box_id, (int) $moved ); -
/** * Whether tasks can be about records of custom types (the Custom Objects * add-on turns this on). */ apply_filters( 'doublescale_task_record_entity_available', false ); -
/** * Filter task type colors */ apply_filters( 'doublescale_task_type_colors', $colors ); -
/** * Filter task type icons */ apply_filters( 'doublescale_task_type_icons', $icons ); -
/** * Filter task types to allow extensions to add custom types */ apply_filters( 'doublescale_task_types', $types ); -
/** * Keep only the extra access keys an add-on knows. */ apply_filters( 'doublescale_team_access_extras', $extras, $level, $roles ); -
/** * A Team member's extra access was saved. */ do_action( 'doublescale_team_member_access_saved', (int) $user->ID, $access['extras'], $access['level'], $roles ); -
/** * Add data to a Team member row, e.g. `access_extras` (the keys of the add-on * rows ticked for them) and `access_level`. */ apply_filters( 'doublescale_team_member_data', $row, $user ); -
/** * Switch on the Team Member role: a person with admin access and no module * role, who works only in the add-on's areas. */ apply_filters( 'doublescale_team_member_role_enabled', false ); -
/** * Decide whether the current user may link a ticket to a project. */ apply_filters( 'doublescale_ticket_project_check', new WP_Error( 'projects_unavailable', __( 'Linking tickets to projects needs DoubleScale Pro with Projects turned on.', 'doublescale' ), array( 'status' => 400 ) ), $project_id, $contact_id, $company_id ); -
/** * Whether a project belongs to this contact or company. */ apply_filters( 'doublescale_ticket_project_matches_client', true, $project_id, $contact_id, $company_id ); -
/** * The linked project as the current user may see it (null = hide it). */ apply_filters( 'doublescale_ticket_project_summary', null, $project_id ); -
/** * Whether support tickets can be linked to projects. */ apply_filters( 'doublescale_ticket_projects_available', false ); -
/** * Whether to stop a WhatsApp campaign before this recipient. */ apply_filters( 'doublescale_whatsapp_campaign_hold_recipient', false, (string) $recipient, $campaign ); -
/** * Filters how long a recipient is skipped after Meta's per-user marketing cap. */ apply_filters( 'doublescale_whatsapp_recipient_cooldown', self::RECIPIENT_COOLDOWN ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * async actions. */ apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * cron actions. */ apply_filters( 'pre_as_schedule_cron_action', null, $timestamp, $schedule, $hook, $args, $group, $priority, $unique ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * recurring actions. */ apply_filters( 'pre_as_schedule_recurring_action', null, $timestamp, $interval_in_seconds, $hook, $args, $group, $priority, $unique ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * single actions. */ apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ); -
apply_filters( 'doublescale_mail_message', doublescale_decode_string( $message ), $this ); -
apply_filters( "doublescale_module_enabled_{$this->slug()}", $default ); -
apply_filters( 'doublescale_booking_payment_gateways', array() ); -
apply_filters( 'doublescale_campaign_lock_duration', 300, $this->channel, $campaign_id ); -
do_action( 'doublescale_sales_proposal_accepted', $proposal ); -
do_action( 'action_scheduler_after_process_queue' ); -
do_action( 'action_scheduler_before_process_queue' ); -
do_action( 'action_scheduler_bulk_cancel_actions', $action_ids ); -
do_action( 'action_scheduler_canceled_action', $action_id ); -
do_action( 'action_scheduler_deleted_action', $action_id ); -
do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception ); -
action_scheduler_list_table_column_args
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_list_table_column_args', '', $row ); -
action_scheduler_maximum_execution_time
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_maximum_execution_time', $time_limit ); -
do_action( 'action_scheduler_stored_action', $action_id ); -
do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
apply_filters( 'doublescale_booking_event_handlers', self::get_default_handlers( $event_name ), $event_name, $booking ); -
apply_filters( 'doublescale_booking_integrations', array() ); -
do_action( 'doublescale_booking_renderer_enqueue_scripts' ); -
do_action( 'doublescale_contact_file_attached', $contact, $attachment ); -
do_action( 'doublescale_contact_file_removed', $contact, $attachment ); -
do_action( 'doublescale_contact_list_apply', $this, $lists_to_add ); -
do_action( 'doublescale_contact_list_remove', $contact, $changed ); -
do_action( 'doublescale_contact_tag_apply', $this, $tags_to_add ); -
do_action( 'doublescale_contact_tag_remove', $contact, $changed ); -
do_action( 'doublescale_kb_article_saved', $article, null ); -
apply_filters( 'doublescale_mail_header_image', false ); -
apply_filters( "doublescale_module_enabled_{$slug}", $intent ); -
apply_filters( 'doublescale_provider_webhooks_enable', true ); -
do_action( 'doublescale_sales_invoice_updated', $invoice ); -
do_action( 'doublescale_sales_proposal_converted_to_invoice', $proposal, $invoice ); -
do_action( 'doublescale_sales_proposal_declined', $proposal, $reason ); -
do_action( 'doublescale_smtp_after_get_settings' ); -
do_action( 'doublescale_smtp_before_get_settings' ); -
do_action( "{$this->group}_{$hook}", ...$args ); -
apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification ); -
apply_filters( 'action_scheduler_admin_view_class', 'ActionScheduler_AdminView' ); -
do_action( 'action_scheduler_after_execute', $action_id, $action, $context ); -
action_scheduler_allow_async_request_runner
filter Used by 121 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_allow_async_request_runner', $allow ); -
action_scheduler_async_request_sleep_seconds
filter Used by 121 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_async_request_sleep_seconds', 5, $this ); -
do_action( 'action_scheduler_before_execute', $action_id, $context ); -
do_action( 'action_scheduler_begin_execute', $action_id, $context ); -
apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ); -
action_scheduler_enable_recreate_data_store
filter Used by 124 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_enable_recreate_data_store', true ); -
do_action( 'action_scheduler_execution_ignored', $action_id, $context ); -
do_action( 'action_scheduler_failed_action', $action_id, $timeout ); -
action_scheduler_failed_to_schedule_next_instance
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action ); -
apply_filters( 'action_scheduler_failure_period', $time_limit ); -
action_scheduler_load_deprecated_functions
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_load_deprecated_functions', true ); -
apply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' ); -
apply_filters( 'action_scheduler_lock_duration', self::$lock_duration, $lock_type ); -
apply_filters( 'action_scheduler_logger_class', 'ActionScheduler_wpCommentLogger' ); -
apply_filters( 'action_scheduler_maximum_args_length', 191 ); -
action_scheduler_maximum_execution_time_likely_to_be_exceeded
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time ); -
apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this ); -
apply_filters( 'action_scheduler_migrate_data_store', false ); -
action_scheduler_migration_dependencies_met
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_migration_dependencies_met', true ); -
apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshold_min ); -
action_scheduler_pastdue_actions_check_interval
filter Used by 99 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds ); -
action_scheduler_pastdue_actions_check_pre
filter Used by 100 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_pastdue_actions_check_pre', null ); -
action_scheduler_pastdue_actions_extra_notices
action Used by 99 plugins → Copy link Customise this hookdo_action( 'action_scheduler_pastdue_actions_extra_notices', $query_args ); -
apply_filters( 'action_scheduler_pastdue_actions_min', 1 ); -
action_scheduler_pastdue_actions_seconds
filter Used by 104 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS ); -
apply_filters( 'action_scheduler_post_status_args', $args ); -
action_scheduler_post_status_failed_labels
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_post_status_failed_labels', $labels ); -
action_scheduler_post_status_running_labels
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_post_status_running_labels', $labels ); -
apply_filters( 'action_scheduler_post_type_args', $args ); -
do_action( 'action_scheduler_pre_theme_init' ); -
action_scheduler_queue_runner_batch_size
filter Used by 121 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_batch_size', 25 ); -
apply_filters( 'action_scheduler_queue_runner_class', 'ActionScheduler_QueueRunner' ); -
action_scheduler_queue_runner_concurrent_batches
filter Used by 122 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); -
action_scheduler_queue_runner_time_limit
filter Used by 125 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_time_limit', $time_limit ); -
do_action( 'action_scheduler_reset_action', $action_id ); -
do_action( 'action_scheduler_run_queue', 'Async Request' ); -
apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE ); -
apply_filters( 'action_scheduler_store_class', self::DEFAULT_CLASS ); -
apply_filters( 'action_scheduler_stored_action_class', $action_class, $status, $hook, $args, $schedule, $group ); -
apply_filters( 'action_scheduler_taxonomy_args', $args ); -
apply_filters( 'action_scheduler_timeout_period', $time_limit ); -
do_action( 'action_scheduler_unexpected_shutdown', $this->action_id, $error ); -
action_scheduler_use_cpu_execution_time
filter Used by 122 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ); -
do_action( 'action_scheduler/created_table', $updated_table, $table ); -
action_scheduler/migrate_action_dry_run
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migrate_action_dry_run', $source_action_id ); -
do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination ); -
action_scheduler/migrate_action_incomplete
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
action_scheduler/migration_batch_complete
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migration_batch_complete', $action_ids ); -
apply_filters( 'action_scheduler/migration_batch_size', 250 ); -
action_scheduler/migration_batch_starting
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migration_batch_starting', $action_ids ); -
do_action( 'action_scheduler/migration_complete' ); -
apply_filters( 'action_scheduler/migration_config', $config ); -
apply_filters( 'action_scheduler/migration_interval', 0 ); -
do_action( 'action_scheduler/no_action_to_migrate', $source_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/progress_tick', $this->total_ticks ); -
apply_filters( 'admin_memory_limit', $wp_max_limit ); -
apply_filters( "doublescale_{$channel}_max_per_second", $max_per_second ); -
do_action( "doublescale_{$channel}_subscribed", $this ); -
do_action( "doublescale_{$channel}_unsubscribed", $this ); -
do_action( "doublescale_{$this->channel}_clicked", $campaign_record ); -
do_action( "doublescale_{$this->channel}_delivery_status_updated", $tracking_record, $status, $previous_status ); -
apply_filters( "doublescale_{$this->channel}_max_per_second", (int) $max ); -
do_action( "doublescale_{$this->channel}_provider_optout", $contact, $opt_out_reason, $tracking_record ); -
apply_filters( "doublescale_{$this->channel}_unsubscribe_redirect", home_url() ); -
do_action( "doublescale_{$this->channel}_unsubscribed", $contact, $campaign_record ); -
apply_filters( "doublescale_{static::get_channel_type()}_unsubscribe_text", "\n\nTo unsubscribe: {$unsubscribe_url}" ); -
apply_filters( 'doublescale_active_channel_context', 'email' ); -
do_action( 'doublescale_activities_bulk_delete', $activity_ids, $deleted_count ); -
do_action( 'doublescale_activity_comment_add', $comment, $activity ); -
do_action( 'doublescale_activity_comment_delete', $comment_id ); -
do_action( 'doublescale_activity_comment_pre_delete', $comment ); -
do_action( 'doublescale_activity_comment_update', $comment ); -
do_action( 'doublescale_activity_delete', $activity_id ); -
do_action( 'doublescale_activity_pre_delete', $activity ); -
do_action( 'doublescale_activity_update', $activity ); -
apply_filters( 'doublescale_admin_config', array( 'blogName' => get_bloginfo( 'name' ), 'adminUrl' => admin_url(), 'menuSlug' => apply_filters( 'doublescale_admin_menu_slug', 'doublescale' ), 'adminEmail' => $admin_email, 'ajaxUrl' => $ajax_url, 'nonce' => $nonce, 'pluginDirUrl' => DOUBLESCALE_PLUGIN_URL, 'proPluginDirUrl' => defined( 'DOUBLESCALE_PRO_PLUGIN_URL' ) ? DOUBLESCALE_PRO_PLUGIN_URL : '', 'siteUrl' => site_url(), 'siteTimezon... ); -
do_action( 'doublescale_admin_enqueue_scripts' ); -
apply_filters( 'doublescale_admin_inline_catalog', false ); -
apply_filters( 'doublescale_ajax_continuation_enable', true, $this->channel, $campaign_id ); -
apply_filters( 'doublescale_ajax_continuation_threshold', 5, $this->channel ); -
apply_filters( 'doublescale_attachment_accepted_mimes', self::DEFAULT_MIMES ); -
apply_filters( 'doublescale_automation_action_sources', $this->sources ); -
apply_filters( 'doublescale_automation_actions', $this->actions ); -
apply_filters( 'doublescale_automation_goal_sources', $this->sources ); -
apply_filters( 'doublescale_automation_goals', $this->goals ); -
apply_filters( 'doublescale_automation_inline_budget', min( 8.0, max( 2.0, $slice ) ) ); -
do_action( 'doublescale_automation_paused', $automation, 'manual' ); -
apply_filters( 'doublescale_automation_rules_groups_for_modules', $groups ); -
apply_filters( 'doublescale_automation_trigger_sources', $this->sources ); -
apply_filters( 'doublescale_automation_triggers', $this->triggers ); -
do_action( "doublescale_booking_{$short_event}", $booking, $context ); -
do_action( 'doublescale_booking_after_booking_created', $booking, array( 'payment_method' => $payment_method, ) ); -
apply_filters( 'doublescale_booking_booking_service_instance', new BookingService() ); -
apply_filters( 'doublescale_booking_config', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( 'doublescale_booking' ), 'url' => home_url(), 'lang' => get_locale(), 'timezones' => $tz_map, 'invitee' => self::signed_in_invitee(), ) ); -
apply_filters( 'doublescale_booking_get_available_slots', $slots, $this, $start_date, $end_date, $timezone ); -
apply_filters( 'doublescale_booking_multisite_member_user_ids', null ); -
apply_filters( 'doublescale_booking_multisite_scope_active', null ); -
apply_filters( 'doublescale_booking_payment_available', true ); -
do_action( 'doublescale_booking_payment_completed', $this ); -
do_action( 'doublescale_booking_payment_failed', $this ); -
do_action( 'doublescale_booking_payment_status', $booking ); -
do_action( 'doublescale_booking_process_payment', $booking, array( 'payment_method' => $payment_method, ) ); -
apply_filters( 'doublescale_booking_should_cancel_for_payment_timeout', true, $booking ); -
apply_filters( 'doublescale_bulk_email_max_batch_size', $this->max_batch_size, $this->slug ); -
do_action( 'doublescale_call_log', $activity, $data ); -
apply_filters( 'doublescale_campaign_batch_count', 100, $ctx->channel ); -
apply_filters( 'doublescale_campaign_bulk_batch_size', 500, $this->channel ); -
apply_filters( 'doublescale_campaign_curl_multi_batch_size', 100, $this->channel ); -
apply_filters( 'doublescale_campaign_max_no_progress_attempts', 5, $this->channel, $campaign_id ); -
apply_filters( 'doublescale_channel_label_map', $labels ); -
apply_filters( 'doublescale_child_module_parent_map', $map ); -
apply_filters( 'doublescale_compile_js_translations_on_loco_save', true, $locale, $path ); -
do_action( 'doublescale_contact_collaborator_removed', $contact_id, $user_id ); -
do_action( 'doublescale_contact_deleting', $contact ); -
apply_filters( 'doublescale_contact_filters_groups', $groups ); -
apply_filters( 'doublescale_contact_filters_groups_for_modules', $groups ); -
do_action( 'doublescale_contact_list_subscribed', $this, $list_id ); -
do_action( 'doublescale_contact_list_unsubscribed', $this, $list_id ); -
do_action( 'doublescale_contact_subscribe', $contact ); -
do_action( 'doublescale_contact_unsubscribe', $contact ); -
apply_filters( 'doublescale_curl_multi_max_batch_size', $this->max_batch_size, $this->slug ); -
apply_filters( 'doublescale_curl_multi_max_concurrent', $this->max_concurrent, $this->slug ); -
do_action( 'doublescale_deal_note_added', $deal, $activity ); -
apply_filters( 'doublescale_default_mail_content', $default_content ); -
apply_filters( 'doublescale_default_test_mail_content', $default_content ); -
apply_filters( 'doublescale_defer_registries', true ); -
apply_filters( 'doublescale_emails_send_email_data', array( 'to' => $to, 'subject' => $subject, 'message' => $message, 'headers' => $this->get_headers(), 'attachments' => $attachments, ), $this ); -
apply_filters( 'doublescale_feature_group_module_slug_map', $map ); -
apply_filters( 'doublescale_feature_group_owned_module', $slug, $group_key, $context ); -
do_action( 'doublescale_form_submitted', $contact_id ); -
apply_filters( 'doublescale_forms', $this->forms ); -
apply_filters( 'doublescale_has_server_cron', defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ); -
apply_filters( 'doublescale_imap_connect_timeout', 15 ); -
apply_filters( 'doublescale_import_batch_pause_microseconds', 0 ); -
apply_filters( 'doublescale_import_contacts_per_request', 50 ); -
do_action( 'doublescale_inbox_incoming_message_process', $parsed_data, $this->channel, $provider ); -
apply_filters( 'doublescale_integrated_plugins', $plugins ); -
do_action( 'doublescale_kb_article_deleted', $id, $snapshot ); -
apply_filters( 'doublescale_lazy_rest_routes', true ); -
apply_filters( 'doublescale_loading_screen_logo', $default_logo ); -
apply_filters( 'doublescale_loading_screen_wordmark', $default_wordmark ); -
apply_filters( 'doublescale_log_add_message', $message, $handle ); -
apply_filters( 'doublescale_log_class', Logger::class ); -
do_action( 'doublescale_log_entry', $level, $message, $context ); -
apply_filters( 'doublescale_log_handler_register', array() ); -
apply_filters( 'doublescale_log_message', $message, $level, $context ); -
apply_filters( 'doublescale_log_retention_days', 30 ); -
do_action( 'doublescale_mail_body', $this ); -
apply_filters( 'doublescale_mail_cc', doublescale_decode_string( $this->cc ), $this ); -
do_action( 'doublescale_mail_click', $contact ); -
apply_filters( 'doublescale_mail_content_type', $this->content_type, $this ); -
apply_filters( 'doublescale_mail_default_content_type', 'text/html', $this ); -
apply_filters( 'doublescale_mail_from_address', doublescale_decode_string( $this->from_address ), $this ); -
apply_filters( 'doublescale_mail_from_name', doublescale_decode_string( $this->from_name ), $this ); -
do_action( 'doublescale_mail_header', $this ); -
apply_filters( 'doublescale_mail_headers', $this->headers, $this ); -
do_action( 'doublescale_mail_log', $activity, $data ); -
apply_filters( 'doublescale_mail_reply_to', doublescale_decode_string( $this->reply_to ), $this ); -
do_action( 'doublescale_mail_send_after', $this ); -
do_action( 'doublescale_mail_send_before', $this ); -
apply_filters( 'doublescale_mail_template', $this->template ); -
apply_filters( 'doublescale_mail_template_paths', $file_paths ); -
do_action( 'doublescale_meeting_schedule', $activity, $data ); -
apply_filters( 'doublescale_merge_tag_groups_module_filtered', $groups ); -
do_action( "doublescale_module_booted_{$module->slug()}", $module ); -
apply_filters( 'doublescale_module_data_models', array( 'automations' => \DoubleScale\Modules\Automations\Models\AutomationModel::class, 'booking' => \DoubleScale\Modules\Booking\Models\CalendarModel::class, 'campaigns' => \DoubleScale\Modules\Campaigns\Models\CampaignModel::class, 'documents' => \DoubleScale\Modules\Documents\Models\InvoiceModel::class, 'forms' => \DoubleScale\Modules\Forms\Models\FormModel::class, 'smtp' => \DoubleScale\Mod... ); -
apply_filters( 'doublescale_module_slug_to_class_map', $base ); -
do_action( 'doublescale_modules_booted', $this->booted ); -
do_action( 'doublescale_note_add', $activity, $data ); -
apply_filters( 'doublescale_phantom_module_toggle_slugs', $slugs ); -
apply_filters( 'doublescale_phone_required_channels', $phone_channels ); -
apply_filters( 'doublescale_portal_sync_time_budget', min( 10, max( 3, (int) ini_get( 'max_execution_time' ) * 0.4 ) ) ); -
apply_filters( 'doublescale_portal_upload_max_bytes', self::DEFAULT_MAX_FILE_SIZE_BYTES ); -
apply_filters( 'doublescale_portal_user_role', $role ); -
do_action( 'doublescale_rate_limit_wait', $channel, $sleep_microseconds ); -
apply_filters( 'doublescale_runtime_max_execution_time', $adjusted_execution_time ); -
apply_filters( 'doublescale_runtime_memory_limit', $memory_limit ); -
apply_filters( 'doublescale_sales_convert_proposal_gate', null, $proposal ); -
apply_filters( 'doublescale_sales_invoice_admin_shape', $data, $invoice ); -
do_action( 'doublescale_sales_invoice_deleted', $invoice ); -
do_action( 'doublescale_sales_invoice_paid', $invoice->fresh() ); -
apply_filters( 'doublescale_sales_payment_gateway_integration_url', '', $slug ); -
apply_filters( 'doublescale_sales_pdf_company_address', $address ); -
apply_filters( 'doublescale_sales_proposal_admin_shape', $data, $proposal ); -
do_action( 'doublescale_sales_proposal_deleted', $proposal ); -
do_action( 'doublescale_sales_proposal_sent', $proposal, $message, $channel ); -
do_action( 'doublescale_sales_proposal_updated', $proposal ); -
apply_filters( 'doublescale_sales_stripe_available', false ); -
apply_filters( 'doublescale_sales_stripe_configured', false ); -
apply_filters( 'doublescale_scheduler_batch_size', 100, $default ); -
apply_filters( 'doublescale_scheduler_concurrent_batches', $batches, $default ); -
apply_filters( 'doublescale_scheduler_retention_days', 7, $default ); -
apply_filters( 'doublescale_scheduler_time_limit', $cap, $default ); -
apply_filters( 'doublescale_send_error_is_retriable', false, $numeric, $this->channel ); -
do_action( 'doublescale_smtp_after_get_mailers_settings' ); -
do_action( 'doublescale_smtp_before_get_mailers_settings' ); -
apply_filters( 'doublescale_smtp_default_connection', $settings_default_connection, $filter_modified_connection ); -
apply_filters( 'doublescale_smtp_email_log_context', $context ); -
apply_filters( 'doublescale_smtp_explicit_connection', null ); -
apply_filters( 'doublescale_smtp_log_max_rows', $rows ); -
apply_filters( 'doublescale_smtp_log_retention_days', $days ); -
apply_filters( 'doublescale_smtp_mailer_get_body', $this->body, $this->provider ); -
apply_filters( 'doublescale_smtp_mailer_get_email_details', $email_details, $this->provider ); -
apply_filters( 'doublescale_smtp_mailer_get_from_email', $from_email, $this->provider ); -
apply_filters( 'doublescale_smtp_mailer_get_from_name', $from_name, $this->provider ); -
apply_filters( 'doublescale_smtp_mailer_get_headers', $this->headers, $this->provider ); -
do_action( 'doublescale_smtp_mailer_handle_failed_email', $error, $email_data ); -
apply_filters( 'doublescale_smtp_mailer_log_result', true, $email_data ); -
apply_filters( 'doublescale_smtp_mailers', $mailers ); -
apply_filters( 'doublescale_smtp_max_execution_time', $max_execution_time * 0.75 ); -
apply_filters( 'doublescale_smtp_rest_settings', $all_settings ); -
apply_filters( 'doublescale_standalone_plugin_module_slugs', $slugs ); -
apply_filters( 'doublescale_store_addons', $addons ); -
apply_filters( 'doublescale_subscription_model_class', '\\DoubleScale\\Subscriptions\\Models\\SubscriptionModel' ); -
apply_filters( 'doublescale_support_accepted_ticket_mimes', CoreAttachmentService::accepted_mimes() ); -
apply_filters( 'doublescale_update_contact_default_calling_code', $base_code ); -
apply_filters( 'doublescale_use_bulk_email_sending', true, $campaign ); -
apply_filters( 'doublescale_use_curl_multi_email_sending', true, $campaign ); -
apply_filters( 'doublescale_website_tracking_enabled', $enabled ); -
apply_filters( 'doublescale_whatsapp_max_retriable_attempts', 3, $this->channel ); -
do_action( 'doublescale_workflow_fire_webhooks', $booking, $context ); -
do_action( 'doublescale_workflow_notify_attendee', $booking, $context ); -
do_action( 'doublescale_workflow_notify_cancelled', $booking, $context ); -
do_action( 'doublescale_workflow_notify_completed', $booking, $context ); -
do_action( 'doublescale_workflow_notify_confirmed', $booking, $context ); -
do_action( 'doublescale_workflow_notify_no_show', $booking, $context ); -
do_action( 'doublescale_workflow_notify_organizer', $booking, $context ); -
do_action( 'doublescale_workflow_notify_pending', $booking, $context ); -
do_action( 'doublescale_workflow_notify_rejected', $booking, $context ); -
do_action( 'doublescale_workflow_notify_rescheduled', $booking, $context ); -
apply_filters( 'https_local_ssl_verify', false ); -
woocommerce_order_formatted_billing_address
filter Used by 7 plugins → Copy link Customise this hookapply_filters( 'woocommerce_order_formatted_billing_address', $order->get_address( 'billing' ), $order ); -
woocommerce_order_formatted_shipping_address
filter Used by 8 plugins → Copy link Customise this hookapply_filters( 'woocommerce_order_formatted_shipping_address', $order->get_address( 'shipping' ), $order ); -
do_action( 'wp_enqueue_scripts' );
Generated from DoubleScale CRM'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: