Framework-Fired Hooks

These hooks are fired automatically by vendor/aegis/framework CoreBlocks:

Template Part Hooks

For each template part slug (e.g. header, footer), the framework wraps output with:

HookFires
aegis_before_{slug}Before the template part renders
aegis_after_{slug}After the template part renders

Examples: aegis_before_header, aegis_after_footer.

Content Hooks

HookFires
aegis_before_contentBefore the main post content block output
aegis_after_contentAfter the main post content block output

Integration-Bridged Hooks

When the Aegis Dash integration is enabled, it bridges extra hooks from third-party plugins. They appear in the plugin’s injection catalog, but the theme alone does not fire them.

PluginBefore hookAfter hookFires on
Fluent Formsaegis_before_fluentformaegis_after_fluentformThe form output
Gravity Formsaegis_before_gformaegis_after_gformgform_get_form_filter
Ninja Formsaegis_before_nf_formaegis_after_nf_formninja_forms_before_form_display and ninja_forms_after_form_display
LearnDash courseaegis_before_learndash_courseaegis_after_learndash_courseA course page
LearnDash lessonaegis_before_learndash_lessonaegis_after_learndash_lessonA lesson page
LearnDash topicaegis_before_learndash_topicaegis_after_learndash_topicA topic page
LearnDash quizaegis_before_learndash_quizaegis_after_learndash_quizA quiz page
bbPress forumsaegis_before_bbpress_forumaegis_after_bbpress_forumThe forums loop
bbPress topicaegis_before_bbpress_topicaegis_after_bbpress_topicA single topic
Co-Authors Plusaegis_before_post_authoraegis_after_post_authorcore/post-author and co-authors/block

Other bridged locations cover WooCommerce checkout and cart, EDD, and the map block.

Hooks the Theme Fires Itself

The two LearnDash Focus Mode hooks are different: the theme framework fires them (Integrations/LearnDash.php), with or without the plugin.

HookArgument
aegis_learndash_focus_headerint $course_id
aegis_learndash_focus_footerint $course_id