Architect action and filter hooks

  • Contents

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

    Last update: v1.4.0
     

    FileFilter NameArguments
    /application/admin/php/arc-options.php
     arc-extend-optionsapply_filters(‘arc-extend-options’,$this->sections)
    /application/admin/php/arc-save-process-blueprints.php
     arc_blueprint_cssapply_filters(‘arc_blueprint_css’, $pzarc_contents )
    /application/admin/php/class_arc_blueprints_designer.php
     arc_editor_tabsapply_filters(‘arc_editor_tabs’, $fields)
     arc-slider-engineapply_filters(‘arc-slider-engine’, array(‘slick’ => ‘Slick’)
     arc-transitionsapply_filters(‘arc-transitions’, $transitions)
     arc-extend-slider-settingsapply_filters(‘arc-extend-slider-settings’, $sections[ ‘_slidertabbed’ ])
     arc-extend-masonry-settingsapply_filters(‘arc-extend-masonry-settings’,$sections[ ‘_masonry’ ])
    /application/arc-public.php
     arc_filter_shortcodeapply_filters(‘arc_filter_shortcode’, $pzout, $pzarc_blueprint, $pzarc_overrides, $tag)
    /application/public/php/class_arc_blueprint.php
     arc-load-blueprintapply_filters(‘arc-load-blueprint’, $this->blueprint)
    /application/public/php/class_arc_navigator.php
     arc-open-nav-containerapply_filters(‘arc-open-nav-container’, $open, $this->blueprint)
     arc-navigation-skipperapply_filters(‘arc-navigation-skipper’, $skipper_nav, $this->blueprint)
     arc-navigator-custom-classesapply_filters(‘arc-navigator-custom-classes’, $custom_classes, $this->blueprint)
     arc-close-nav-containerapply_filters(‘arc-close-nav-container’, ‘

    ‘, $this->blueprint)

    /application/public/php/class_arc_section.php
     arc-set-slider-dataapply_filters(‘arc-set-slider-data’, $slider, $this->blueprint)
     arc_before_panel_open_filterapply_filters(‘arc_before_panel_open_filter’, $nav_item[ $panel_number ])
     arc-extend-panel-classesapply_filters(‘arc-extend-panel-classes’, $classes, $this->blueprint)
     arc-extend-panel-dataapply_filters(‘arc-extend-panel-data’, ”, $this->blueprint)
     arc-overlay-permalinkapply_filters(‘arc-overlay-permalink’,get_the_permalink()
     arc_filter_bgimageapply_filters(“arc_filter_bgimage”, self::strip_unused_arctags($line_out)
     arc_filter_outer_imageapply_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_titleapply_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-titleapply_filters(‘arc-blueprint-title’,$bptitle_open_tag . esc_html($this->build->blueprint[ ‘_blueprints_blueprint-title’ ])
     arc-add-hover-buttonsapply_filters(‘arc-add-hover-buttons’,$return_val,$this->build->blueprint)
     arc-navigator-classapply_filters( ‘arc-navigator-class’, $class, $t->build->blueprint )
    /application/shared/architect/php/content-types/generic/class_arc_panel_generic.php
     arc_init_dataapply_filters(‘arc_init_data’, $this->data )
     arc_panel_defapply_filters(‘arc_panel_def’, $panel_def )
     arc_render_componentsapply_filters(‘arc_render_components’, $line, $component, $source, $layout_mode )
     arc_nav_itemsapply_filters(‘arc_nav_items’, $nav_items )
    /presets/presets.php
     arc-add-presetsapply_filters(‘arc-add-presets’, $this->presets)
    /application/admin/php/arc_page_template.php
     arc_page_templatedo_action(‘arc_page_template’)
    /application/admin/php/arc_page_template_no_sidebars.php
     arc_page_templatedo_action(‘arc_page_template’)
    /application/arc-public.php
     arc_before_shortcodedo_action(‘arc_before_shortcode’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag)
     arc_do_shortcodedo_action(‘arc_do_shortcode’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag, $additional_overrides, $tablet_bp, $phone_bp)
     arc_after_shortcodedo_action(‘arc_after_shortcode’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag)
     arc_before_template_tagdo_action(‘arc_before_template_tag’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller)
     arc_do_template_tagdo_action(‘arc_do_template_tag’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller, $tag, $additional_overrides, $tablet_bp, $phone_bp)
     arc_after_template_tagdo_action(‘arc_after_template_tag’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller)
     arc_before_pagebuilderdo_action(‘arc_before_pagebuilder’, $pzarc_blueprint, $pzarc_overrides, $pzarc_caller)
     arc_do_pagebuilderdo_action(‘arc_do_pagebuilder’, $pzarc_blueprint, null, $pzarc_caller, $tag, $additional_overrides, $tablet_bp, $phone_bp)
     arc_after_pagebuilderdo_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_actiondo_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_closedo_action(‘arc_after_panel_close’)
    /application/public/php/class_architect_public.php
     arc_before_architectdo_action( ‘arc_before_architect’ )
     arc_before_architect_{$bp_shortname}do_action( “arc_before_architect_{$bp_shortname}” )
     arc_before_navigation_top_leftdo_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_leftdo_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_abovedo_action( ‘arc_before_pagination_above’ )
     arc_before_pagination_above_{$bp_shortname}do_action( “arc_before_pagination_above_{$bp_shortname}” )
     arc_after_pagination_abovedo_action( ‘arc_after_pagination_above’ )
     arc_after_pagination_above_{$bp_shortname}do_action( “arc_after_pagination_above_{$bp_shortname}” )
     arc_before_panels_wrapperdo_action( ‘arc_before_panels_wrapper’ )
     arc_before_panels_wrapper_{$bp_shortname}do_action( “arc_before_panels_wrapper_{$bp_shortname}” )
     arc_after_panels_wrapperdo_action( ‘arc_after_panels_wrapper’ )
     arc_after_panels_wrapper_{$bp_shortname}do_action( “arc_after_panels_wrapper_{$bp_shortname}” )
     arc_before_pagination_belowdo_action( ‘arc_before_pagination_below’ )
     arc_before_pagination_below_{$bp_shortname}do_action( “arc_before_pagination_below_{$bp_shortname}” )
     arc_after_pagination_belowdo_action( ‘arc_after_pagination_below’ )
     arc_after_pagination_below_{$bp_shortname}do_action( “arc_after_pagination_below_{$bp_shortname}” )
     arc_after_navigationdo_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_architectdo_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_datado_action(‘arc_set_data’ )
    /architect.php
     arc_load_extensionsdo_action( ‘arc_load_extensions’ )