Developer API
This page lists every public function, action, filter, REST route and constant in WP Smart Consent 1.5.3, with its exact name, parameters and when it runs. Use it to send contacts from your own plugin, change what is sent to a CRM, or read WP Smart Consent data.
All hooks are plain WordPress hooks. Add them in a small plugin (recommended) or your theme’s functions.php.
Forward an opt-in#
wpsc_forward_optin( array $args ): bool#
Logs a contact in the Customers Log and, when consent was given, sends it to every enabled CRM, email platform and webhook. Field mapping, list and tag settings apply exactly as for built-in integrations.
if ( function_exists( 'wpsc_forward_optin' ) ) {
wpsc_forward_optin( [
'email' => 'jane@example.com',
'first_name' => 'Jane',
'last_name' => 'Doe',
'consent' => true,
'source' => 'my-plugin',
'extra' => [ 'plan' => 'pro' ],
'crm_overrides' => [
'mailchimp' => [ 'list_ids' => [ 'abc123' ], 'tags' => [ 'lead' ] ],
],
] );
} | Key | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Must be a valid email address. Otherwise nothing happens and the function returns false. |
first_name, last_name | string | No | |
phone, company | string | No | |
address_1, address_2, city, state, postcode, country | string | No | Use a two-letter code for country. |
consent | bool | No | Default true. With false, the contact is logged as not consented and isn’t forwarded anywhere. |
source | string | No | Default custom. Shown in the log’s Source column. Use your integration slug. |
extra | array | No | Custom key → value pairs. Stored with the log entry and added to the contact data, so CRM Custom fields rows can read them by key (keys are lower-cased). |
crm_overrides | array | No | Per-destination list and tag overrides: [ crm_slug => [ 'list_ids' => [], 'tags' => [] ] ]. |
All values are sanitized. Returns true when the email is valid.
Which CRMs honor crm_overrides: the 14 cloud integrations (lists and tags; HubSpot and Omnisend have no lists), FluentCRM, MailPoet, Mailster and MailerPress (lists and tags), Newsletter (lists) and Groundhogg (tags). Use these slugs as keys: the cloud slugs listed under Per-CRM filters, plus fluent_crm, mailpoet, mailster, newsletter, groundhogg and mailerpress.
Action: wpsc_forward_optin#
do_action( 'wpsc_forward_optin', array $args ); The same as the function, with the same arguments. It needs no function_exists() check, so your code keeps working when WP Smart Consent is deactivated.
Register an integration#
Registering adds your integration to the WP Smart Consent dashboard with its own Enabled switch, and to the log’s source filter. It doesn’t send anything by itself.
Filter: wpsc_register_integrations#
add_filter( 'wpsc_register_integrations', function ( array $integrations ) {
$integrations[] = [
'slug' => 'my-plugin',
'name' => 'My Plugin',
'group' => 'sources', // 'sources' (forms) or 'checkout'
'logo' => plugins_url( 'logo.png', __FILE__ ), // optional
];
return $integrations;
} ); wpsc_register_integration( array $args ): bool#
if ( function_exists( 'wpsc_register_integration' ) ) {
wpsc_register_integration( [ 'slug' => 'my-plugin', 'name' => 'My Plugin' ] );
} | Key | Required | Description |
|---|---|---|
slug | Yes | Unique. Lowercase a–z, 0–9, _ and -. A built-in slug (for example mailchimp or wpforms) is refused. |
name | Yes | Display name. |
group | No | sources (default) or checkout. |
logo | No | Absolute URL of a logo image. |
Returns false if the slug or name is missing or the slug belongs to a built-in integration.
Respect the site owner’s switch#
add_action( 'my_plugin_signup_completed', function ( $user ) {
$enabled = \WPSmartConsent\Settings\Settings::get_integration_option( 'my-plugin', 'enabled' );
if ( empty( $enabled ) ) {
return;
}
do_action( 'wpsc_forward_optin', [
'email' => $user->email,
'first_name' => $user->first_name,
'consent' => ! empty( $user->marketing_optin ),
'source' => 'my-plugin',
] );
} ); Settings::get_integration_option( string $key, ?string $field = null, $default = null ) returns one integration’s saved settings, or a single field from them.
Actions#
wpsc_optin_trigger#
Fires for every consent event that should be forwarded: from checkouts, forms and wpsc_forward_optin(). All destinations listen on it: webhooks at priority 5, CRM integrations at priority 10.
add_action( 'wpsc_optin_trigger', function ( $optin, $order, $billing_address, $context ) {
// your code
}, 10, 4 ); | Argument | Type | Description | |
|---|---|---|---|
$optin | bool | Whether the box was ticked. It’s false only for WooCommerce (block and classic), FluentCart, SureCart, Easy Digital Downloads and GiveWP orders where the box was left unticked. Forms and wpsc_forward_optin() only fire it for consenting contacts (or every submission for forms in newsletter mode). | |
$order | object\ | null | The order, payment or checkout object for checkout sources (WooCommerce order, EDD payment, SureCart checkout, FluentCart order, GiveWP payment). null for forms and the API. |
$billing_address | array | email, first_name, last_name, phone, company, country, city, state, address_1, address_2, postcode, plus any extra keys. | |
$context | array | Optional. May contain crm_overrides ([ slug => [ 'list_ids' => [], 'tags' => [] ] ]), source (for example woo_block, woo_shc, surecart or edd) and extra_fields. |
If you fire wpsc_optin_trigger yourself, nothing is logged. Use wpsc_forward_optin() instead unless you log separately.
wpsc_cloud_crm_synced#
Added in 1.5.1. Fires after a cloud CRM accepted a contact.
add_action( 'wpsc_cloud_crm_synced', function ( string $slug, array $contact ) {
// $slug is e.g. 'mailchimp'; $contact is the payload that was sent.
}, 10, 2 ); wpsc_cloud_crm_sync_failed#
Added in 1.5.1. Fires when a cloud CRM rejected a contact (after the single automatic retry, where one applies).
add_action( 'wpsc_cloud_crm_sync_failed', function ( string $slug, \WP_Error $error, array $contact ) {
wp_mail( get_option( 'admin_email' ), "WP Smart Consent: $slug sync failed", $error->get_error_message() );
}, 10, 3 ); These two actions fire for the 14 cloud integrations only (Mailchimp, Brevo, Kit, Klaviyo, ActiveCampaign, MailerLite, GetResponse, Omnisend, Drip, HubSpot, SureContact, Campaigner, Moosend and Mailjet), not for WordPress-based CRMs.
Scheduled actions#
| Action | When | Notes |
|---|---|---|
wpsc_deliver_webhook | Queued webhook delivery, through Action Scheduler or WP-Cron. | Retries up to 3 attempts in total for timeouts, HTTP 429 and 5xx answers. |
wpsc_daily_cleanup | Once a day. | Deletes old log entries (per your retention setting), then runs the Audit Trail (Beta) integrity check. |
Per-CRM filters#
Cloud CRMs#
Every cloud integration has the same three filters. Replace {slug} with one of: mailchimp, brevo, kit, klaviyo, activecampaign, mailerlite, getresponse, omnisend, drip, hubspot, surecontact, campaigner, moosend, mailjet.
| Filter | Parameters | Runs |
|---|---|---|
wpsc_{slug}_list_ids | ( array $list_ids, $order, array $billing_address ) | After the card’s lists and any per-source override are resolved. For integrations that need lists, an empty result means nothing is sent. |
wpsc_{slug}_tags | ( array $tags, $order, array $billing_address ) | After the card’s tags or the per-source tag override are resolved. |
wpsc_{slug}_contact | ( array $contact, array $settings, $order ) | Last, just before sending. Return the array without email (or an empty array) to skip this CRM for this contact. |
The $contact array has these keys: email, first_name, last_name, extra_fields (destination key → value), tags, list_ids, double_optin, update_existing, optin (whether the box was ticked), billing, order and source.
Contacts who didn’t tick the box (optin is false) are only sent to Mailchimp, as transactional members, and only with its Send on unchecked switch on. The switch isn’t offered for the other cloud CRMs, and a non-consenting contact is never sent to them: if one reaches this point anyway, it’s skipped right after this filter runs and the debug log notes it. The check uses the original consent value, not the optin key in the array your filter returns, so a filter can’t turn a non-consenting contact into a subscriber.
// Keep non-consenting contacts out of Mailchimp, even with "Send on unchecked" on.
add_filter( 'wpsc_mailchimp_contact', function ( $contact ) {
return $contact['optin'] ? $contact : [];
} ); | Filter | Parameters | Description |
|---|---|---|
wpsc_cloud_api_request_args | ( array $args, string $url, string $client_class ) | Added in 1.5.1. Changes any outgoing cloud CRM HTTP request (headers, timeout). Default timeout 15 seconds (SureContact 10). |
wpsc_brevo_doi_config | ( array $config ) | Return [ 'templateId' => int, 'redirectionUrl' => string ] to enable Brevo double opt-in. Without both, Brevo double opt-in sends nothing. |
wpsc_hubspot_tags_property | ( string $property ) | Internal name of a HubSpot contact property to store tags in (joined with ;). Default empty: tags aren’t sent to HubSpot. |
wpsc_campaigner_publications | ( array $publications, array $contact ) | Added in 1.5.1. Campaigner publication IDs. |
wpsc_campaigner_subscriber_body | ( array $body, string $email ) | Added in 1.5.1. The full Campaigner request body. |
// Give Mailchimp requests more time on a slow server.
add_filter( 'wpsc_cloud_api_request_args', function ( $args, $url, $client ) {
if ( str_ends_with( $client, 'MailchimpApiClient' ) ) {
$args['timeout'] = 25;
}
return $args;
}, 10, 3 ); WordPress-based CRMs#
| Filter | Parameters | Description |
|---|---|---|
wpsc_fluentcrm_contact_data | ( array $data, $order, array $billing_address ) | Data passed to FluentCRM’s createOrUpdate(). |
wpsc_fluentcrm_tags | ( array $tags, $order, array $billing_address ) | FluentCRM tags (names or IDs). |
wpsc_mailpoet_subscribe_options | ( array $options, $order, array $billing_address ) | MailPoet options: send_confirmation_email, schedule_welcome_email, skip_subscriber_notification. |
wpsc_mailpoet_tags | ( array $tags, $order, array $billing_address ) | MailPoet tags. A number is treated as a tag ID, anything else as a tag name. |
wpsc_mailster_subscriber_data | ( array $entry, $order, array $billing_address ) | The Mailster subscriber array. |
wpsc_mailster_list_ids | ( array $list_ids, $order, array $billing_address ) | Mailster list IDs. |
wpsc_mailster_tags | ( array $tags, $order, array $billing_address ) | Mailster tags. A number is treated as a tag ID, anything else as a tag name. |
wpsc_newsletter_list_ids | ( array $list_ids, $order, array $billing_address ) | Newsletter plugin list numbers. |
wpsc_newsletter_user_data | ( array $user_data, $order, array $billing_address ) | The Newsletter plugin subscriber array. |
wpsc_groundhogg_optin_status | ( int $status, $order, array $billing_address ) | Groundhogg opt-in status number. |
wpsc_groundhogg_contact_payload | ( array [ $fields, $map ], $order, array $billing_address ) | Values and field map passed to Groundhogg. Return the same two-item array. |
wpsc_groundhogg_contact_fields | ( array $fields, $order, array $billing_address ) | Values only. Kept for older code. |
wpsc_groundhogg_tags | ( array $tags, $order, array $billing_address ) | Groundhogg tags (names or IDs). |
wpsc_mailerpress_contact_data | ( array $contact_data, $order, array $billing_address ) | The array passed to MailerPress’s add_mailerpress_contact(). |
FluentCRM automations also get a trigger, Checkout Optin → Collect email at checkout (wpsc_optin), started through FluentCRM’s own fluentcrm_funnel_start_wpsc_optin action for every ticked opt-in.
Checkbox label#
Filter: wpsc_optin_label_allowed_html#
Added in 1.5.3. Changes which HTML tags are kept in the opt-in checkbox label when it’s displayed. The default allow-list is:
| Tag | Allowed attributes |
|---|---|
a | href, title, target, rel, class |
strong, b, em, i, br | none |
span | class |
// Also allow <abbr title="…"> in the label.
add_filter( 'wpsc_optin_label_allowed_html', function ( array $allowed ) {
$allowed['abbr'] = [ 'title' => true ];
return $allowed;
} ); The same allow-list is used when the label is saved in General and again whenever it’s displayed (including WPML and Polylang translations), so tags outside the list are removed at both points. To allow a new tag, add the filter before you save the label.
Helpers#
| Method | Since | Returns |
|---|---|---|
\WPSmartConsent\Helper\Utils::get_optin_label(): string | 1.0.4 | The current label, translated through WPML or Polylang when present. Not escaped. |
\WPSmartConsent\Helper\Utils::kses_optin_label( string $label ): string | 1.5.3 | $label cleaned with wp_kses() and the allow-list above. |
\WPSmartConsent\Helper\Utils::get_optin_label_html(): string | 1.5.3 | The current label, translated and cleaned, ready to print. |
// Show the same label in your own template.
echo '<label><input type="checkbox" name="my_optin"> '
. \WPSmartConsent\Helper\Utils::get_optin_label_html()
. '</label>'; Filter: wpsc_field_class#
( array $classes ). CSS classes on the checkbox row in the classic (shortcode) WooCommerce checkout. Default [ 'wpsc-checkbox-optin-checkbox form-row-wide' ].
Forms#
Filter: wpsc_normalize_country#
Added in 1.5.2. Form integrations store countries as two-letter codes. When a submitted country name isn’t recognized by WooCommerce, Gravity Forms or WP Smart Consent’s own country list, this filter gets a last chance:
( string $code, string $value ): $code is '', $value is what the visitor submitted. Return a two-letter code, or '' to drop the value.
add_filter( 'wpsc_normalize_country', function ( $code, $value ) {
$aliases = [ 'uk' => 'GB', 'england' => 'GB', 'holland' => 'NL' ];
return $aliases[ strtolower( trim( $value ) ) ] ?? $code;
}, 10, 2 ); Filter: wpsc_surecart_enqueue#
Added in 1.5.1. ( bool $needed ). Forces the SureCart consent script on or off for the current page, for checkouts rendered in ways WP Smart Consent can’t detect.
add_filter( 'wpsc_surecart_enqueue', fn( $needed ) => $needed || is_page( 'checkout' ) ); Data fields and checkout data#
Filter: wpsc_field_{slug}#
Added in 1.5.3. Supplies the value of a custom data field whose source is PHP hook on the Data fields tab. {slug} is the field’s slug. The filter only runs for fields that are Active.
( string $value, array $billing, $order ): $value is ''; $billing is the data collected for this submission; $order is the order, payment or checkout object for checkout sources and null for forms. Return a string. An array is joined with , . Empty values are dropped.
// Data field "customer_tier" with the source "PHP hook".
add_filter( 'wpsc_field_customer_tier', function ( $value, $billing, $order ) {
if ( $order && method_exists( $order, 'get_customer_id' ) && $order->get_customer_id() ) {
return wc_get_customer_order_count( $order->get_customer_id() ) > 5 ? 'loyal' : 'regular';
}
return $value;
}, 10, 3 ); The value can then be picked as Your field in any CRM’s Field mapping and in a webhook’s fields, and is stored with the log entry.
Filter: wpsc_checkout_collected_data#
Added in 1.5.3. Runs for every checkout (WooCommerce block and classic, SureCart, FluentCart, Easy Digital Downloads and GiveWP) after its Collect fields settings are applied, before the order is logged and forwarded.
( array $billing, string $slug, $order ): $slug is the checkout’s settings key (woo_block, woo_shc, surecart, fluent_cart, edd or givewp). Return the array.
// Add the WooCommerce order currency to the data sent on.
add_filter( 'wpsc_checkout_collected_data', function ( $billing, $slug, $order ) {
if ( in_array( $slug, [ 'woo_block', 'woo_shc' ], true ) && $order ) {
$billing['currency'] = $order->get_currency();
}
return $billing;
}, 10, 3 ); A key you add here can be read by a CRM’s Custom fields row (as its source key) or by a webhook.
Helpers#
| Method | Since | Returns |
|---|---|---|
\WPSmartConsent\Helper\Utils::resolve_custom_data_fields( array $billing, $order = null ): array | 1.5.3 | [ slug => value ] for every active custom data field from the Data fields tab that has a value. Reads each field from its source: form input (from $billing), order meta, ACF field, user meta, cookie or the wpsc_field_{slug} filter. Built-in fields aren’t included. |
\WPSmartConsent\Helper\Utils::apply_checkout_collect( string $slug, array $billing, $order = null ): array | 1.5.3 | $billing with the checkout’s Collect fields settings applied: phone and company removed when switched off, order meta custom fields added. Ends with the wpsc_checkout_collected_data filter. Use it if you build your own checkout integration on a built-in checkout’s settings. |
Webhooks#
| Filter | Parameters | Description |
|---|---|---|
wpsc_webhook_data_before_send | ( array $payload, array $billing_data, array $webhook ) | The payload (JSON body or form fields). |
wpsc_webhook_headers | ( array $headers, array $payload, array $webhook ) | Request headers. Protected headers (Host, Content-Length and the X-WPSC-* signature headers) can’t be overridden from the dashboard. |
wpsc_webhook_async | ( bool $async, array $webhook ) | true (default) queues the delivery; false sends it during the request. |
wpsc_webhook_timeout | ( int $seconds, array $webhook ) | Default 10. |
wpsc_webhook_url_allowed | ( bool $allowed, string $url ) | Added in 1.5.1. Final say on a destination after the built-in checks (public http/https addresses only). |
\WPSmartConsent\Helper\Webhook::canonical_source( $source ): string (added in 1.5.3) maps an internal source slug to the one used in the dashboard filters: woo_block and woo_shc become woocommerce, contactform7 becomes cf7, fluent_cart becomes fluentcart; any other slug is returned as is. A webhook’s Only these sources setting compares sources this way.
Payloads include wpsc_consented, event (consent.granted, consent.declined or consent.test), source, timestamp (ISO 8601, UTC) and site_url. Signature headers and verification code are in Webhook Support.
Geo detection and IP addresses#
| Filter | Parameters | Description |
|---|---|---|
wpsc_trusted_proxy | ( bool $enabled ) | Added in 1.5.1. Return true when the site is behind a proxy you control, so forwarded IP headers are trusted. Same as the Behind a trusted proxy setting in Geo rules. |
wpsc_geo_visitor_ip | ( string $ip ) | The IP address used for geo lookups. |
wpsc_geo_is_bot | ( bool $is_bot, string $user_agent ) | Added in 1.5.6. Whether the request comes from a crawler or monitor. Bots get no geo lookup and no location cookie. $user_agent is lowercased; an empty user agent counts as a bot. |
wpsc_geo_cookie_name | ( string $name ) | Added in 1.5.7. The geo country cookie name. Receives the Cookie name setting, or smartconsent_geo when it’s blank. The US state cookie is this name plus _state. A name that isn’t allowed falls back to smartconsent_geo. |
wpsc_gdpr_countries | ( array $codes ) | The fallback force-unchecked country list, used only when no Geo rules country list has been saved. |
wpsc_flag_base_url | ( string $url ) | Base URL (with trailing slash) for the flag images in Geo rules. |
// wp-config.php or a must-use plugin: the site is behind Cloudflare.
add_filter( 'wpsc_trusted_proxy', '__return_true' ); Other geo helpers, all static methods of \WPSmartConsent\Helper\Utils:
| Method | Returns |
|---|---|
get_user_geo_country() | The visitor’s two-letter country code, or false. |
is_gdpr_country(): bool | Whether the visitor’s country is on the force-unchecked list. |
get_prechecked_state(): bool | Whether the checkbox should start ticked for this visitor. |
\WPSmartConsent\Helper\GeoDetection::country_cookie(): string, state_cookie(): string | Added in 1.5.7. The geo cookie names in use. Read the visitor’s country with $_COOKIE[ GeoDetection::country_cookie() ] instead of a hard-coded name. |
Debugging#
Filter: wpsc_debug_log#
Added in 1.5.1. ( bool $enabled, mixed $message ). WP Smart Consent writes diagnostic lines (CRM errors, skipped sends, webhook problems) to the PHP error log only when WP_DEBUG is on. Return true to log without WP_DEBUG:
add_filter( 'wpsc_debug_log', '__return_true' ); Or log only CRM failures:
add_filter( 'wpsc_debug_log', function ( $enabled, $message ) {
return $enabled || ( is_string( $message ) && str_contains( $message, 'sync failed' ) );
}, 10, 2 ); \WPSmartConsent\Helper\Utils::log( $message ): void writes through the same switch, so your own add-on’s messages follow the site owner’s setting.
Admin#
| Filter | Parameters | Description |
|---|---|---|
wpsc_menu_name | ( string $name ) | The admin menu label. Default “WP Smart Consent”. |
wpsc_api_controllers_list | ( array $classes ) | REST controller classes to register. Advanced: removing one removes its routes. |
wpsc_notifications_query_args | ( array $args ) | Query arguments for the news panel in the dashboard header. |
REST API#
All routes are under /wp-json/wpsc/v1/. Every request needs:
- a logged-in user with the
manage_optionscapability, and - a valid REST nonce in the
X-WP-Nonceheader (fromwp_create_nonce( 'wp_rest' )).
Because the nonce is always checked, the API is meant for scripts running inside your WordPress admin. Application passwords on their own aren’t enough.
| Method and route | Description |
|---|---|
GET settings | All settings. API keys and secrets come back as __MASKED__. |
POST settings | Saves settings. Send __MASKED__ to keep a stored secret unchanged. |
GET logger | Log entries. Parameters: page, per_page (default 30), search, source, date_range (1d, 7d, 30d, 90d, 1y), orderby, order, checked, export=1. Totals are in the X-WP-Total and X-WP-TotalPages headers. |
DELETE logger?id= | Deletes one entry. The deletion is recorded so the Audit Trail (Beta) chain stays valid. |
GET logger/sources | The distinct source slugs in the log. |
GET logger/verify | Verifies the whole Audit Trail (Beta) chain now. |
GET logger/integrity | The last stored verification result, without running a new check. |
POST clean-logs | Deletes log entries. Body: period = 1d, 7d, 30d, 60d or 90d (entries older than that, measured with the database server’s clock; a plain number such as 30 also works), or all. |
GET dashboard?type= | Dashboard data. type: stats, analytics or log. Optional range: 1d, 7d, 30d (default), 90d, 360d. |
POST webhooks/test | Sends a consent.test payload to the webhook configuration in the body. Returns { ok, code, ms, error }. |
GET webhooks/log | The last 50 webhook delivery attempts. |
DELETE webhooks/log | Clears the delivery log. |
GET notifications | Product news shown in the dashboard. |
GET plugins | Articles shown in the dashboard. |
// From an admin page where wpApiSettings is loaded:
fetch( '/wp-json/wpsc/v1/logger?per_page=10&source=woocommerce', {
headers: { 'X-WP-Nonce': wpApiSettings.nonce }
} ).then( r => r.json() ).then( console.log ); The Audit Trail (Beta) signature format is described in Audit Trail.
Constants (wp-config.php)#
| Constant | Since | Description |
|---|---|---|
WPSC_LOG_HMAC_KEY | 1.5.0 | Audit Trail (Beta) signing key. Set it to the value shown in the Audit trail tab to keep the key out of the database. Changing it invalidates existing signatures. |
WPSC_FLAG_BASE_URL | 1.5.0 | Base URL for the Geo rules flag images, instead of the bundled files. |
Notes#
- All functions and hooks are safe to use before WP Smart Consent is configured. Nothing is sent until destinations are enabled.
- Use the
wpsc_forward_optinaction, or checkfunction_exists(), so your plugin keeps working if WP Smart Consent is deactivated. - A failing CRM never interrupts a checkout or form: errors are caught and written to the debug log.
Brand color and checkbox text size#
New in 1.5.5. A theme or branding plugin can set the Checkbox color and Checkbox text size, either saving them into the settings (the dashboard shows who set them) or overriding them at runtime.
// Save into WP Smart Consent's settings (safe if it isn't active).
do_action( 'wpsc_set_brand_color', '#2e7a2f', 'Acme Brand Kit' );
do_action( 'wpsc_set_checkbox_font_size', '15px', 'Acme Brand Kit' );
// Or override at runtime without saving.
add_filter( 'wpsc_brand_color', fn( $color ) => get_theme_mod( 'accent_color', $color ) ); | Function or hook | Type | Use |
|---|---|---|
wpsc_set_brand_color( $color, $source ) | function / action | Save the brand color. Returns true or WP_Error. |
wpsc_set_checkbox_font_size( $size, $source ) | function / action | Save the label text size (px, em, rem or %, 10px to 32px). |
wpsc_get_brand_color(), wpsc_get_checkbox_font_size() | function | The values in use on the front end. |
wpsc_brand_color, wpsc_checkbox_font_size | filter | Override at runtime, without saving. |
wpsc_brand_updated( $key, $value, $before, $source ) | action | Fires after either value is saved through the API. |
wpsc_checkbox_label_selectors | filter | CSS selectors that receive the text size. |
Full details and examples: Checkbox Color and Text Size.
