What You See

Aegis → Hooks.

The screen uses the shared Aegis admin layout:

Enabling locations for snippets is on Code Snippets → Settings.

Status Disabled (grey) means the pattern’s switch is off. Otherwise status is the post status: Published in green, and any other status (Draft, Pending, Scheduled, Private) in amber, because only published patterns are shown on the site.

Conditions Always means the pattern has no visibility rules. Conditional (or a rule count) means _aegis_conditions is active; click it to edit rules in the pattern editor. Which condition types are available is toggled at Aegis → Conditionals (including Page Type, User Status, User Role, User Capability, Specific Users, Schedule, and Accessibility) and Aegis → Integrations (including WP Fusion tag, list, and CRM logged-in when those extras are on). Saved rules for a disabled extra are ignored. Viewport and accessibility classes wrap the pattern output. Smart Logic on the pattern is evaluated on the front end with the same extras gating as posts. User Capability is a typed slug such as edit_posts (is / is not); object caps like edit_post will not match. Schedule extras (Date & Time, weekdays, daily range, timezone) use the dedicated extras UI, not Smart Logic. Naive start/end datetimes are interpreted in the IANA schedule timezone when that extra is on, otherwise the site timezone; non-IANA saved zones stay in the dropdown labeled invalid and evaluate as the site timezone. Daily ranges whose end is before start wrap overnight.

Delete moves the hook pattern to Trash. Enable/Disable sets _aegis_enabled without changing publish status.

Hook Pattern CPT (Pro Required)

A hook pattern with its location and conditions (Aegis Pro).

See Hook Patterns Pro.

Injection Location Catalog

The free plugin Injection\LocationRegistry catalogs attach points including:

Snippets attach to any enabled location in this catalog.

Framework-Fired Theme Hooks

The Aegis framework fires these hooks automatically (see Theme Hook Patterns):

Fluent Forms Integration Hooks

When Aegis → Integrations → Forms → Fluent Forms is on, IntegrationInjector bridges:

Catalog labels: Before Fluent Form, After Fluent Form.

Gravity Forms Integration Hooks

When Aegis → Integrations → Forms → Gravity Forms is on, IntegrationInjector bridges (priority 99 on gform_get_form_filter):

Both actions receive the Gravity Forms $form array passed to gform_get_form_filter. Catalog labels: Before Gravity Form, After Gravity Form.

Map Block Hooks

When the Google Maps connector is on (Aegis → Connectors → Maps, setting google_maps), IntegrationInjector wraps the rendered aegis/map block (render_block_aegis/map, priority 4):

Catalog labels: Before map block, After map block.

Video Block Hooks

These come from the Aegis Video add-on, which adds them to the catalog through the aegis_integration_locations filter. When the BunnyCDN connector is on (Aegis → Connectors → BunnyCDN, setting bunny_cdn), Aegis Video wraps the rendered core/video block (render_block_core/video, priority 99, so it runs after BunnyCDN and other video filters):

Catalog labels: Before video block, After video block.

Ninja Forms Integration Hooks

When Aegis → Integrations → Forms → Ninja Forms is on, IntegrationInjector bridges:

Both actions receive $form_id. Catalog labels: Before Ninja Form, After Ninja Form.

bbPress Integration Hooks

When Aegis → Integrations → Community → bbPress is on, IntegrationInjector bridges:

Catalog labels: Before bbPress forum, After bbPress forum, Before bbPress topic, After bbPress topic.

Co-Authors Plus Integration Hooks

When Aegis → Integrations → Content → Co-Authors Plus is on, IntegrationInjector wraps (priority 99):

Catalog labels: Before post author / Co-Authors block, After post author / Co-Authors block.

LearnDash Integration Hooks

When Aegis → Integrations → LMS → LearnDash is on, IntegrationInjector bridges:

Catalog labels: Before LearnDash course, After LearnDash course, Before LearnDash lesson, After LearnDash lesson, Before LearnDash topic, After LearnDash topic, Before LearnDash quiz, After LearnDash quiz, LearnDash Focus Mode header, LearnDash Focus Mode footer.

LifterLMS Integration Hooks

When Aegis → Integrations → LMS → LifterLMS is on, IntegrationInjector bridges:

All actions pass $post_id. Catalog labels: Before LifterLMS course, After LifterLMS course, Before LifterLMS lesson, After LifterLMS lesson.

Sensei LMS Integration Hooks

When Aegis → Integrations → LMS → Sensei LMS is on, IntegrationInjector bridges:

All actions pass $post_id. Catalog labels: Before Sensei course, After Sensei course, Before Sensei lesson, After Sensei lesson, Before Sensei quiz, After Sensei quiz.

Next Steps