All features

Cherry Blossom feature

Structured data Providers: FAQ Toggle

Provides FAQPage entities for the FAQ Toggle ACF block.

Provides FAQPage entities for the FAQ Toggle ACF block.

Capabilities and extension points

Provides FAQPage entities for the FAQ Toggle ACF block.

This class also serves as the reference implementation for ACF block-backed structured data providers.

Gets the supported ACF block name.

  • return string Block name.

Builds the FAQPage entity from prepared ACF fields.

  • param array $fields Prepared ACF fields.
  • param array $block Parsed WordPress block.
  • param object $context Structured data request context.
  • return array FAQPage entity or an empty array.

Source reference

This editable reference page is based on the PHP documentation in structured-data/providers/class-faq-toggle.php.