Set a transient
wp_set_transientSet a transient value with an optional expiration (seconds), overwriting one of the same name. Only names under a prefix the site owner allowed via the "ab_mcp_pro_transient_prefix_allowlist" filter (empty by default); the plugin's own "ab_mcp" state is never reachable; any other name is refused with an error. Returns set and name. Requires manage_options. wp_delete_transient removes one by name; wp_cleanup_transients removes the expired ones. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Transient name without the _transient_ prefix: ASCII letters, digits, _ - . and : only, at most 172 characters, starting with an allowed prefix (case-sensitive). | |
| value | Yes | Scalar, null, or an array (nested arrays allowed) whose leaves are scalars or null. | |
| expiration | No | Lifetime in seconds. 0 or omitted: no expiry for a new transient; an existing one stored in the database keeps its current expiry. |