Governed ability

Get Avada page content

aafm/avada-get-page-contentRead only

Get Avada page content is a governed ability in Agent Abilities for MCP, a free WordPress plugin that runs an MCP server on your site.

Reads the raw post content of an Avada/Fusion Builder page, unchanged. Fusion Builder shortcodes are returned exactly as stored, never rendered or stripped. Also returns is_avada_owned, true when Avada owns the content or the post is one of Avada's own types, and affects when an edit to this post reaches other pages (a layout section or a global library element). With include_structure it also returns an outline of the Fusion Builder elements (tag, nesting depth, attributes as stored and as Avada reads them, the inner text of an element with no child element, the library item id of a global element, and a fingerprint per element) plus a page fingerprint, to find the element that holds the text before calling avada-replace-text. The outline stops at 2,000 elements. With include_page_options it also returns the page CSS and the stored page options from a fixed list of layout, title bar, sidebar, slider, header, footer, off canvas, form appearance, steps and confirmation, SEO and template settings; form notification, submission and privacy settings and code fields are never returned. Page options are read only while the Avada theme is active, on an Avada page, one of Avada's own types, or a page, post, portfolio item, Avada Slider slide or Elastic Slider slide that no other builder owns. Requires edit access to the post; layout sections are open only to users who can manage site options, and a global library item only to users who can edit private posts. Avada's Role Manager is not applied. Only while Avada is active.

How it is governed

The same model as every ability in the plugin, stated for this one.

  • Off until you enable it

    Like every ability, Get Avada page content ships switched off. You turn it on one at a time, and an update never switches on a tool it serves.

  • Reads only

    It reads data and returns it to your client. Nothing on your site is created, changed, or removed.

  • Capability gated

    A connection only sees Get Avada page content if the user you connected can run it, and the plugin checks that capability again before it executes.

  • Every call audited

    The call is written to the log in your own database, denials included, with the argument keys and the identifiers it touched, never free-text content.

Get Avada page content is one of the 18 governed Avada abilities. See the full Avada MCP integration.

See it in action

An illustrative run. Your real calls and data stay on your own site.

agent-abilities · auditGoverned
YouGet Avada page content on this site.
RunRunning aafm/avada-get-page-content
GateAllowedread capability confirmed
Auditaafm/avada-get-page-content · principal: editor · args: post_id
ResultReturns the data the agent asked for. Nothing on the site changes.

Try it with a prompt

Example requests you could paste to your agent.

  1. Show me the raw Fusion Builder markup stored on page 142.
  2. Is page 512 owned by Avada, and what does its stored content look like?
  3. Pull the unrendered content of this Avada page before I change anything in it.
  4. Show me the element outline of page 142 with each element's fingerprint.

These are illustrative example prompts. The agent runs them as the user you connected, checked against that user's capabilities and written to your audit log.

Frequently asked

Short answers for Get Avada page content.

What does include_structure add?

An outline of the Fusion Builder elements: each one's tag, nesting depth, attributes as stored and as Avada reads them, its inner text when it has no child element, and a fingerprint, plus a page fingerprint. The Avada element tools name an element by that index and fingerprint. The outline stops at 2,000 elements.

Do I get rendered HTML back?

No. Get Avada page content returns the raw post content exactly as stored, with the Fusion Builder shortcodes intact. Nothing is rendered or stripped. The response also carries an is_avada_owned flag.

Does this work for Elementor or Divi pages?

No. Avada and, since 1.12.0, WPBakery Page Builder are the only page builders with tools of their own. The plugin cannot read or edit the layouts of Elementor, Divi, Beaver Builder, Visual Composer, Oxygen, Breakdance, Brizy or Bricks, and the general content writes refuse pages those builders own. The one exception is an edit that only sets the excerpt, which leaves the stored content as it was.

Who can run it?

Get Avada page content requires edit access to the post, it is off until an administrator enables it, and every call is written to the audit log.

Back to all abilities

Governed by default, from the first call.

Get Avada page content is off until you enable it, scoped to the user you connect, and logged like everything else. Turn on only what you need.

Every ability off until you enable it, capability-gated on every call.