Contents
On this page

Settings - Plugixa Recipe

Global plugin configuration lives in the plugixa_recipe_settings WordPress option (a single array with all sub-keys). Most display and behavior values can be overridden by a view, and every view value can be overridden on a per-shortcode basis.

Go to Plugixa Recipe > Settings. The page is one list of sections: a rail on the left, the section on the right, and one Save button for the sections that share it. A section whose app is switched off stays in the rail, dimmed, and says where to switch it on.

The Notifications and uploads section of the settings, with a switch to email when something arrives for moderation and a Max upload size field set to 5 MB

Settings priority

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

A shortcode like [plugixa_recipes view="cards" limit="6"] wins over a view that has limit=12, which wins over the global default set here.

Some settings are global-only and do not cascade - notably AI provider/keys, REST API policy, Captcha keys, and the uninstall behavior. These apply to the whole site regardless of which view or shortcode is rendering.

Sections

Section What it controls
General Items per page, language and measurement defaults
Display The addresses recipes and their archives are served at
Recipe Layouts PRO The layout of recipe pages and of category and cuisine pages
Reviews How recipe reviews are collected and shown
SEO Meta tags and social cards
Schema Markup The recipe structured data (JSON-LD)
Performance How recipe images are loaded and stored
Notifications & uploads The moderation email and the largest photo a visitor may upload (new in 1.4.0)
Spam protection Cloudflare Turnstile keys
Uninstall What is removed when the plugin is deleted
Submission form PRO The public recipe submission form
Nutrition Calculator PRO Your USDA FoodData Central API key
AI Generator PRO Provider (OpenAI / Gemini), key, model and defaults
SEO Analysis PRO The SEO Analyzer checks
Appearance PRO Light or dark admin
Data Management PRO Demo data

Resetting to defaults

Each tab has a Reset tab button that restores defaults for that tab only - the other tabs keep your changes. Defaults are applied only on fresh installs; the plugin never silently overwrites unsaved values.

REST API

All settings are readable and writable through the plugixa-recipe/v1 namespace:

Method Endpoint Description
GET /wp-json/plugixa-recipe/v1/settings Read the full settings array.
POST /wp-json/plugixa-recipe/v1/settings Update any subset of keys.
GET /wp-json/plugixa-recipe/v1/settings/dashboard Dashboard stats (recipe counts, reviews).
DELETE /wp-json/plugixa-recipe/v1/settings/demo-data PRO Remove demo recipes loaded via Advanced → Load Demo Data.

Read/write endpoints require the manage_options capability. Custom clients must include the wp_rest nonce in the X-WP-Nonce header.

Hooks

Filters and actions fire around settings save and defaults - see Hooks Reference for exact signatures. Common uses: adjusting defaults on first install, sanitizing values before DB write, or reacting to config changes from an add-on.

  • Views - visual presets (colors, typography, layout) override the global defaults
  • Shortcodes - per-instance attribute overrides
  • Hooks Reference - full hook signatures
  • REST API - full API reference across all controllers

Quick Links

Share