Enable or disable dark mode (default true). Returning false also removes the editor light/dark preview toggle
aegis_dynamic_custom_properties
Dynamic CSS custom properties
aegis_patterns
Pattern categories
aegis_pattern_dirs
Pattern scan directories
aegis_template_tags
Template tag output
aegis_template_tag_post_fields
Post fields that {field} template tags can print. Argument: string[] $fields. Defaults to public fields only: title, excerpt, dates, author, status, slug, parent, post type, and comment count (TemplateTags.php)
aegis_query_protected_meta_keys
_-prefixed meta keys that Query Loop meta filters and meta sorting accept. Argument: string[] $keys. Default: WooCommerce product keys (_price, _regular_price, _sale_price, _stock, _wc_average_rating, _wc_review_count) (QueryEnhancements.php)
aegis_words_per_minute
Reading time calculation (default 200)
aegis_comments_form_title_tag
Comments form heading tag
aegis_placeholder_svg
Placeholder SVG markup
aegis_format_inline_js
Inline JS formatting
aegis_default_mode
Default color mode, 'light' or 'dark'. Arguments: string $mode, array $global_settings. The default is 'dark' when global settings define custom.lightMode, otherwise 'light'. Also sets the starting mode of the editor preview toggle (DarkMode.php)
aegis_inline_css / aegis_inline_js
Final inline CSS or JS string. Arguments: string $string, string $template_html, bool $load_all, object $instance. The prefix is the asset handle, which is the theme folder name (AssetsTrait.php)
aegis_template_html
Collected front-end template, template part, and post markup that decides which conditional assets load. Argument: string $markup (FrontendContentContext.php)
aegis_editor_data
Data passed to the framework editor script as window.aegis. Argument: array $data (EditorAssets.php)
aegis_query_enhancements_data
Post types, taxonomies, meta operators, meta types, and order-by options for the Query enhancements panel. Argument: array $data (QueryEnhancements.php)
Swap a core/template-part slug at render time when an alternate parts/{slug}.html exists. See Dynamic Template Parts.
aegis_theme_update_repository
GitHub repository (owner/name) the theme checks for updates. Default aegiswp/aegis. Argument: string $repository (src/Admin/GitHubUpdater.php). See Updating.
aegis_companion_package_url
Zip URL Aegis Dash notice installs from. Default: the aegis-dash.zip package of the latest Aegis Dash release. Argument: string $package (src/Admin/CompanionNotice.php). Use it to pin a release or a mirror.
Pro Filters
Filter
Description
aegis_font_families
Font families for theme.json
aegis_pro_analytics_retention_days
Video analytics retention
aegis_pro_computed_value
Block Bindings computed values
aegis_tabs_tab_visibility
Tab block visibility
Block Filters (Examples)
Filter
Description
aegis_related_posts_query
Related Posts WP_Query args. Arguments: array $query_args, int $post_id, string $context (the context gets a -fallback suffix for the fallback query, and is block-preview in the editor)