Architect Documentation & Tutorials

Architect action and filter hooks

Architect has many hooks to enable developers to extend and modify it.

Last update: v1.4.0
 

File Filter Name Arguments
/application/admin/php/arc-options.php
  arc-extend-options apply_filters(‘arc-extend-options’,$this->sections)
/application/admin/php/arc-save-process-blueprints.php
  arc_blueprint_css apply_filters(‘arc_blueprint_css’, $pzarc_contents )
/application/admin/php/class_arc_blueprints_designer.php
  arc_editor_tabs apply_filters(‘arc_editor_tabs’, $fields)
  arc-slider-engine apply_filters(‘arc-slider-engine’, array(‘slick’ => ‘Slick’)
  arc-transitions apply_filters(‘arc-transitions’, $transitions)
  arc-extend-slider-settings apply_filters(‘arc-extend-slider-settings’, $sections[ ‘_slidertabbed’ ])
  arc-extend-masonry-settings apply_filters(‘arc-extend-masonry-settings’,$sections[ ‘_masonry’ ])
/application/arc-public.php
  arc_filter_shortcode apply_filters(‘arc_filter_shortcode’, $pzout, $pzarc_blueprint, $pzarc_overrides, $tag)
/application/public/php/class_arc_blueprint.php
  arc-load-blueprint apply_filters(‘arc-load-blueprint’, $this->blueprint)
/application/public/php/class_arc_navigator.php
  arc-open-nav-container apply_filters(‘arc-open-nav-container’, $open, $this->blueprint)
  arc-navigation-skipper apply_filters(‘arc-navigation-skipper’, $skipper_nav, $this->blueprint)
  arc-navigator-custom-classes apply_filters(‘arc-navigator-custom-classes’, $custom_classes, $this->blueprint)
  arc-close-nav-container apply_filters(‘arc-close-nav-container’, ‘

‘, $this->blueprint)

/application/public/php/class_arc_section.php
  arc-set-slider-data apply_filters(‘arc-set-slider-data’, $slider, $this->blueprint)
  arc_before_panel_open_filter apply_filters(‘arc_before_panel_open_filter’, $nav_item[ $panel_number ])
  arc-extend-panel-classes apply_filters(‘arc-extend-panel-classes’, $classes, $this->blueprint)
  arc-extend-panel-data apply_filters(‘arc-extend-panel-data’, ”, $this->blueprint)
  arc-overlay-permalink apply_filters(‘arc-overlay-permalink’,get_the_permalink()
  arc_filter_bgimage apply_filters(“arc_filter_bgimage”, self::strip_unused_arctags($line_out)
  arc_filter_outer_image apply_filters(“arc_filter_outer_image”, self::strip_unused_arctags($line_out)
  arc_filter_{$component_type} apply_filters(“arc_filter_{$component_type}”, self::strip_unused_arctags($line_out)
/application/public/php/class_architect_public.php
  arc_page_title apply_filters( ‘arc_page_title’, self::display_page_title( $this->build->blueprint[ ‘_blueprints_page-title’ ], array(‘category’ => $_architect_options[ ‘architect_language-categories-archive-pages-title’ ],’tag’=> $_architect_options[ ‘architect_language-tags-archive-pages-title’
],’month’=> $_architect_options[ ‘architect_language-tags-archive-pages-title’ ],’custom’ => $_architect_options[ ‘architect_language-custom-archive-pages-title’ ])
  arc-blueprint-title apply_filters(‘arc-blueprint-title’,$bptitle_open_tag . esc_html($this->build->blueprint[ ‘_blueprints_blueprint-title’ ])
  arc-add-hover-buttons apply_filters(‘arc-add-hover-buttons’,$return_val,$this->build->blueprint)
  arc-navigator-class apply_filters( ‘arc-navigator-class’, $class, $t->build->blueprint )
/application/shared/architect/php/content-types/generic/class_arc_panel_generic.php
  arc_init_data apply_filters(‘arc_init_data’, $this->data )
  arc_panel_def apply_filters(‘arc_panel_def’, $panel_def )
  arc_render_components apply_filters(‘arc_render_components’, $line, $component, $source, $layout_mode )
  arc_nav_items apply_filters(‘arc_nav_items’, $nav_items )
/presets/presets.php
  arc-add-presets apply_filters(‘arc-add-presets’, $this->presets)
/application/admin/php/arc_page_template.php
  arc_page_template do_action(‘arc_page_template’)
/application/admin/php/arc_page_template_no_sidebars.php
  arc_page_template do_action(‘arc_page_template’)
/application/arc-public.php
  arc_before_shortcode do_action(‘arc_before_shortcode’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag)
  arc_do_shortcode do_action(‘arc_do_shortcode’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag, $additional_overrides, $tablet_bp, $phone_bp)
  arc_after_shortcode do_action(‘arc_after_shortcode’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag)
  arc_before_template_tag do_action(‘arc_before_template_tag’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller)
  arc_do_template_tag do_action(‘arc_do_template_tag’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag, $additional_overrides, $tablet_bp, $phone_bp)
  arc_after_template_tag do_action(‘arc_after_template_tag’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller)
  arc_before_pagebuilder do_action(‘arc_before_pagebuilder’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller)
  arc_do_pagebuilder do_action(‘arc_do_pagebuilder’, $pzarc_blueprint, null, $pzarc_caller, $tag, $additional_overrides, $tablet_bp, $phone_bp)
  arc_after_pagebuilder do_action(‘arc_after_pagebuilder’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller)
/application/public/php/class_arc_section.php
  arc_before_section_{$this->section_number} do_action(“arc_before_section_{$this->section_number}”)
  arc_after_section_{$this->section_number} do_action(“arc_after_section_{$this->section_number}”)
  arc_before_panel_open_action do_action(‘arc_before_panel_open_action’)
  arc_before_{$component_type} do_action(“arc_before_{$component_type}”, $component_type, $panel_number, $postid)
  arc_after_{$component_type} do_action(“arc_after_{$component_type}”, $component_type, $panel_number, $postid)
  arc_after_panel_close do_action(‘arc_after_panel_close’)
/application/public/php/class_architect_public.php
  arc_before_architect do_action( ‘arc_before_architect’ )
  arc_before_architect_{$bp_shortname} do_action( “arc_before_architect_{$bp_shortname}” )
  arc_before_navigation_top_left do_action( ‘arc_before_navigation_top_left’ )
  arc_before_navigation_top_left_{$bp_shortname} do_action( “arc_before_navigation_top_left_{$bp_shortname}” )
  arc_top_left_navigation_{$bp_shortname} do_action_ref_array( “arc_top_left_navigation_{$bp_shortname}”, array( &$this )
  arc_after_navigation_top_left do_action( ‘arc_after_navigation_top_left’ )
  arc_after_navigation_top_left_{$bp_shortname} do_action( “arc_after_navigation_top_left_{$bp_shortname}” )
  arc_before_pagination_above do_action( ‘arc_before_pagination_above’ )
  arc_before_pagination_above_{$bp_shortname} do_action( “arc_before_pagination_above_{$bp_shortname}” )
  arc_after_pagination_above do_action( ‘arc_after_pagination_above’ )
  arc_after_pagination_above_{$bp_shortname} do_action( “arc_after_pagination_above_{$bp_shortname}” )
  arc_before_panels_wrapper do_action( ‘arc_before_panels_wrapper’ )
  arc_before_panels_wrapper_{$bp_shortname} do_action( “arc_before_panels_wrapper_{$bp_shortname}” )
  arc_after_panels_wrapper do_action( ‘arc_after_panels_wrapper’ )
  arc_after_panels_wrapper_{$bp_shortname} do_action( “arc_after_panels_wrapper_{$bp_shortname}” )
  arc_before_pagination_below do_action( ‘arc_before_pagination_below’ )
  arc_before_pagination_below_{$bp_shortname} do_action( “arc_before_pagination_below_{$bp_shortname}” )
  arc_after_pagination_below do_action( ‘arc_after_pagination_below’ )
  arc_after_pagination_below_{$bp_shortname} do_action( “arc_after_pagination_below_{$bp_shortname}” )
  arc_after_navigation do_action( ‘arc_after_navigation’ )
  arc_after_navigation_{$bp_shortname} do_action( “arc_after_navigation_{$bp_shortname}” )
  arc_bottom_right_navigation_{$bp_shortname} do_action_ref_array( “arc_bottom_right_navigation_{$bp_shortname}”, array( &$this )
  arc_after_architect do_action( ‘arc_after_architect’ )
  arc_after_architect_{$bp_shortname} do_action( “arc_after_architect_{$bp_shortname}” )
/application/shared/architect/php/class_arc_widget.php
  arc_before_{$pzarc_caller} do_action( “arc_before_{$pzarc_caller}”, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $pzarc_blueprint_id_phone, $pzarc_blueprint_id_tablet )
  arc_do_{$pzarc_caller} do_action( “arc_do_{$pzarc_caller}”, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $pzarc_blueprint_id_phone, $pzarc_blueprint_id_tablet )
  arc_after_{$pzarc_caller} do_action( “arc_after_{$pzarc_caller}”, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $pzarc_blueprint_id_phone, $pzarc_blueprint_id_tablet )
/application/shared/architect/php/content-types/generic/class_arc_panel_generic.php
  arc_set_data do_action(‘arc_set_data’ )
/architect.php
  arc_load_extensions do_action( ‘arc_load_extensions’ )