Contents

Settings — Plugixa FAQ

Global settings live in the plugixa_faq_settings WordPress option (a single array with all sub-keys). Every value can be overridden by a view, and every view value can be overridden by a shortcode.

Go to Plugixa FAQ → Settings.

Settings panel

Settings priority

Shortcode attribute  >  View config  >  Global settings
(highest priority)                   (lowest priority)

A shortcode like [plugixa_faq open_first="yes"] wins over a view that has open_first=false, which wins over the global default.

Tabs

The Settings page is split into tabs, one per feature area:

Tab What it controls
Feedback “Was this helpful?” widget — enable, gating, messages, cooldown
Submission PRO Frontend FAQ submission form ([plugixa_faq_form])
Captcha Google reCAPTCHA v3 keys and score threshold
Schema FAQPage JSON-LD for Google rich snippets
Permalinks URL structure for single FAQ pages
Advanced Custom CSS, asset loading, debug, delete all data
WooCommerce PRO FAQ tab on product pages
Multilingual Polylang / WPML integration behavior
AI PRO Provider, keys, models, temperature

REST API

All settings are readable and writable through a single namespace:

Method Endpoint Description
GET /wp-json/plugixa-faq/v1/settings Get all settings.
POST /wp-json/plugixa-faq/v1/settings Update any subset of keys.
GET /wp-json/plugixa-faq/v1/settings/dashboard Dashboard stats.
GET /wp-json/plugixa-faq/v1/settings/health Plugin health check. Public, no auth.
DELETE /wp-json/plugixa-faq/v1/settings/all-data Delete all plugin data. Irreversible.
POST /wp-json/plugixa-faq/v1/settings/demo-data PRO Load demo FAQs/categories/views.
DELETE /wp-json/plugixa-faq/v1/settings/demo-data PRO Remove demo data only.

All non-public endpoints require the manage_options capability. Custom clients must include the wp_rest nonce in the X-WP-Nonce header.

Hooks

Settings fire these actions/filters — see Hooks Reference for signatures:

  • plugixa_faq_settings_defaults — filter the defaults on first install.
  • plugixa_faq_sanitize_settings — filter values before save.
  • plugixa_faq_validate_settings — throw to reject invalid input.
  • plugixa_faq_before_save_settings — action, before DB write.
  • plugixa_faq_after_save_settings — action, after DB write.
  • Views — visual presets (colors, typography, layout) override the global defaults
  • Shortcodes — per-instance overrides
  • Hooks Reference — full hook signatures

Quick Links