# rtpharry/jet-engine-repeater-values architecture

> Architecture diagram of the GitHub repository rtpharry/jet-engine-repeater-values, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rtpharry/jet-engine-repeater-values
- Repository: https://github.com/rtpharry/jet-engine-repeater-values

## Overview

This WordPress plugin exposes JetEngine repeater values as Elementor dynamic tags. In a listing template, a user selects a tag and configures a repeater key; Elementor invokes the registered tag, which reads the current listing’s meta value and returns text, gallery, or image/media data. The README also documents Dynamic Visibility support, but the supplied source shows no separate visibility implementation, so that capability is represented as a documented integration only. The sampled files establish registration and value handling; other host-plugin internals are outside this repository.

Main entry points: [`dynamic-tags/jet-engine-repeater-dynamic-tag-text.php`](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-text.php) (Text tag), [`jet-engine-repeater-values.php`](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/jet-engine-repeater-values.php) (Tag registration), [`dynamic-tags/jet-engine-repeater-dynamic-tag-gallery.php`](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-gallery.php) (Gallery tag), [`dynamic-tags/jet-engine-repeater-dynamic-tag-image.php`](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-image.php) (Image/media tag)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_registration["Tag registration"]
  node_plugin["Plugin bootstrap"]
  node_tag_group["Runthings tag group"]
  node_tag_registration["Tag registration"]
end

subgraph group_tags["Repeater tags"]
  node_text_tag["Text tag"]
  node_gallery_tag["Gallery tag"]
  node_image_tag["Image/media tag"]
  node_tag_result["Rendered tag value"]
end

subgraph group_host["Host integrations"]
  node_listing_meta[("Listing meta values")]
  node_visibility["Dynamic Visibility"]
end

node_editor(("Elementor listing editor"))

node_editor -.->|"loads plugin"| node_plugin
node_plugin -->|"registers group"| node_tag_group
node_plugin -->|"registers callback"| node_tag_registration
node_tag_registration -->|"registers"| node_text_tag
node_tag_registration -->|"registers"| node_gallery_tag
node_tag_registration -->|"registers"| node_image_tag
node_editor -.->|"configures key"| node_text_tag
node_editor -.->|"configures key"| node_gallery_tag
node_editor -.->|"configures key"| node_image_tag
node_text_tag -->|"reads repeater value"| node_listing_meta
node_gallery_tag -->|"reads repeater value"| node_listing_meta
node_image_tag -->|"reads repeater value"| node_listing_meta
node_text_tag -->|"emits text"| node_tag_result
node_gallery_tag -->|"returns gallery data"| node_tag_result
node_image_tag -->|"returns image data"| node_tag_result
node_visibility -.->|"uses dynamic tags"| node_text_tag

click node_plugin "https://github.com/rtpharry/jet-engine-repeater-values/blob/master/jet-engine-repeater-values.php"
click node_tag_group "https://github.com/rtpharry/jet-engine-repeater-values/blob/master/jet-engine-repeater-values.php"
click node_tag_registration "https://github.com/rtpharry/jet-engine-repeater-values/blob/master/jet-engine-repeater-values.php"
click node_text_tag "https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-text.php"
click node_gallery_tag "https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-gallery.php"
click node_image_tag "https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-image.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_plugin,node_tag_group,node_tag_registration toneBlue
class node_text_tag,node_gallery_tag,node_image_tag,node_tag_result toneAmber
class node_listing_meta,node_visibility toneMint
class node_editor toneIndigo
```

## Components

### Tag registration

- [Plugin bootstrap](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/jet-engine-repeater-values.php): `jet-engine-repeater-values.php`
- [Runthings tag group](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/jet-engine-repeater-values.php): `jet-engine-repeater-values.php`
- [Tag registration](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/jet-engine-repeater-values.php): `jet-engine-repeater-values.php`

### Repeater tags

- [Text tag](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-text.php): `dynamic-tags/jet-engine-repeater-dynamic-tag-text.php`
- [Gallery tag](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-gallery.php): `dynamic-tags/jet-engine-repeater-dynamic-tag-gallery.php`
- [Image/media tag](https://github.com/rtpharry/jet-engine-repeater-values/blob/master/dynamic-tags/jet-engine-repeater-dynamic-tag-image.php): `dynamic-tags/jet-engine-repeater-dynamic-tag-image.php`
- **Rendered tag value**

### Host integrations

- **Listing meta values**
- **Dynamic Visibility**

### Other components

- **Elementor listing editor**

## Connections

- Elementor listing editor → Plugin bootstrap: loads plugin (evidence: `readme.md`)
- Plugin bootstrap → Runthings tag group: registers group (evidence: `jet-engine-repeater-values.php`)
- Plugin bootstrap → Tag registration: registers callback (evidence: `jet-engine-repeater-values.php`)
- Tag registration → Text tag: registers (evidence: `jet-engine-repeater-values.php`)
- Tag registration → Gallery tag: registers (evidence: `jet-engine-repeater-values.php`)
- Tag registration → Image/media tag: registers (evidence: `jet-engine-repeater-values.php`)
- Elementor listing editor → Text tag: configures key (evidence: `readme.md`)
- Elementor listing editor → Gallery tag: configures key (evidence: `readme.md`)
- Elementor listing editor → Image/media tag: configures key (evidence: `readme.md`)
- Text tag → Listing meta values: reads repeater value (evidence: `dynamic-tags/jet-engine-repeater-dynamic-tag-text.php`)
- Gallery tag → Listing meta values: reads repeater value (evidence: `dynamic-tags/jet-engine-repeater-dynamic-tag-gallery.php`)
- Image/media tag → Listing meta values: reads repeater value (evidence: `dynamic-tags/jet-engine-repeater-dynamic-tag-image.php`)
- Text tag → Rendered tag value: emits text (evidence: `dynamic-tags/jet-engine-repeater-dynamic-tag-text.php`)
- Gallery tag → Rendered tag value: returns gallery data (evidence: `dynamic-tags/jet-engine-repeater-dynamic-tag-gallery.php`)
- Image/media tag → Rendered tag value: returns image data (evidence: `dynamic-tags/jet-engine-repeater-dynamic-tag-image.php`)
- Dynamic Visibility → Text tag: uses dynamic tags (evidence: `readme.md`)
