Skip to content

Hooks: Templates

Type: Action

File: skins/bootstrap3/archive/archive-property.php:34

Signature:

do_action( 'immomakler_after_archive' )

Type: Action

File: skins/bootstrap3/archive/item-property-condensed.php:47

Signature:

do_action( 'immomakler_after_archive_item' )

Additional usage locations:

  • skins/bootstrap3/archive/item-property-reference.php:32

    do_action( 'immomakler_after_archive_item' )
  • skins/bootstrap3/archive/item-property.php:49

    do_action( 'immomakler_after_archive_item' )

Type: Action

File: skins/bootstrap3/archive/loop-grid-property.php:53

Signature:

do_action( 'immomakler_after_archive_items' )

Additional usage locations:

  • skins/bootstrap3/archive/loop-property.php:74

    do_action( 'immomakler_after_archive_items' )

Type: Action

File: skins/bootstrap3/archive/loop-grid-property.php:48

Signature:

do_action( 'immomakler_after_archive_items_references' )

Additional usage locations:

  • skins/bootstrap3/archive/loop-property.php:69

    do_action( 'immomakler_after_archive_items_references' )

Type: Action

File: skins/bootstrap3/archive/loop-grid-property.php:60

Signature:

do_action( 'immomakler_after_archive_no_items' )

Additional usage locations:

  • skins/bootstrap3/archive/loop-property.php:81

    do_action( 'immomakler_after_archive_no_items' )

Type: Action

File: skins/bootstrap3/archive/pagination-property.php:68

Signature:

do_action( 'immomakler_after_pagination' )

Type: Action

File: src-plus/Frontend/Shortcodes.php:428

Signature:

do_action( 'immomakler_after_shortcode_archive_items' )

Type: Action

File: skins/bootstrap3/single/single-project.php:90

Signature:

do_action( 'immomakler_after_single' )

Additional usage locations:

  • skins/bootstrap3/single/single-property.php:31

    do_action( 'immomakler_after_single' )

Type: Action

File: skins/bootstrap3/single/content-property.php:34

Signature:

do_action( 'immomakler_after_single_details' )

Additional usage locations:

  • skins/bootstrap3/single/content-property.php:67

    do_action( 'immomakler_after_single_details' )

Type: Filter

File: skins/bootstrap3/functions.php:1342

Signature:

apply_filters( 'immomakler_archive_headline', $title )

Type: Action

File: skins/bootstrap3/archive/archive-property.php:13

Signature:

do_action( 'immomakler_archive_map' )

Type: Filter

File: classes/class-immomakler.php:7211

Signature:

apply_filters( 'immomakler_archive_on_delete', false )

Type: Action

File: skins/bootstrap3/archive/actions-property.php:16

Signature:

do_action( 'immomakler_archive_property_actions' )

immomakler_archive_property_details_bottom

Section titled “immomakler_archive_property_details_bottom”

Type: Action

File: skins/bootstrap3/archive/item-property-condensed.php:43

Signature:

do_action( 'immomakler_archive_property_details_bottom' )

Additional usage locations:

  • skins/bootstrap3/archive/item-property.php:35

    do_action( 'immomakler_archive_property_details_bottom' )

Type: Action

File: skins/bootstrap3/archive/item-property-condensed.php:41

Signature:

do_action( 'immomakler_archive_property_details_top' )

Additional usage locations:

  • skins/bootstrap3/archive/item-property.php:32

    do_action( 'immomakler_archive_property_details_top' )

immomakler_archive_property_subtitle_position

Section titled “immomakler_archive_property_subtitle_position”

Type: Filter

File: skins/bootstrap3/functions.php:1284

Signature:

apply_filters( 'immomakler_archive_property_subtitle_position', $position )

Type: Filter

File: skins/bootstrap3/functions.php:1441

Signature:

apply_filters( 'immomakler_archive_subheadline', $title )

Type: Action

File: skins/bootstrap3/archive/item-property-condensed.php:36

Signature:

do_action( 'immomakler_archive_thumbnail_end' )

Additional usage locations:

  • skins/bootstrap3/archive/item-property.php:27

    do_action( 'immomakler_archive_thumbnail_end' )

Type: Filter

File: skins/bootstrap3/functions.php:1326

Signature:

apply_filters( 'immomakler_archive_title', $title )

Type: Action

File: skins/bootstrap3/archive/archive-property.php:18

Signature:

do_action( 'immomakler_before_archive' )

Type: Action

File: skins/bootstrap3/archive/item-property-condensed.php:20

Signature:

do_action( 'immomakler_before_archive_item' )

Additional usage locations:

  • skins/bootstrap3/archive/item-property-reference.php:13

    do_action( 'immomakler_before_archive_item' )
  • skins/bootstrap3/archive/item-property.php:17

    do_action( 'immomakler_before_archive_item' )

Type: Action

File: skins/bootstrap3/archive/loop-grid-property.php:20

Signature:

do_action( 'immomakler_before_archive_items' )

Additional usage locations:

  • skins/bootstrap3/archive/loop-property.php:26

    do_action( 'immomakler_before_archive_items' )

immomakler_before_archive_items_references

Section titled “immomakler_before_archive_items_references”

Type: Action

File: skins/bootstrap3/archive/loop-grid-property.php:15

Signature:

do_action( 'immomakler_before_archive_items_references' )

Additional usage locations:

  • skins/bootstrap3/archive/loop-property.php:21

    do_action( 'immomakler_before_archive_items_references' )

Type: Action

File: skins/bootstrap3/archive/loop-grid-property.php:58

Signature:

do_action( 'immomakler_before_archive_no_items' )

Additional usage locations:

  • skins/bootstrap3/archive/loop-property.php:79

    do_action( 'immomakler_before_archive_no_items' )

Type: Action

File: skins/bootstrap3/single/contactform.php:8

Signature:

do_action( 'immomakler_before_contactform' )

Type: Action

File: skins/bootstrap3/single/single-project.php:28

Signature:

do_action( 'immomakler_before_single' )

Additional usage locations:

  • skins/bootstrap3/single/single-property.php:17

    do_action( 'immomakler_before_single' )

Type: Action

File: skins/bootstrap3/single/content-property.php:27

Signature:

do_action( 'immomakler_before_single_details' )

Additional usage locations:

  • skins/bootstrap3/single/content-property.php:59

    do_action( 'immomakler_before_single_details' )

Type: Filter

Since: 5.68.0

Description:

Filters the property a page-builder element or dynamic field describes.

On a Vorlagenseite the post in the loop is the template page; WP-ImmoMakler answers with the property being viewed. Other posts pass through unchanged.

File: src-plus/Theme_Builders/Avada/Similar_Properties.php:123

Signature:

apply_filters( 'immomakler_current_property_id', $post_id )

Parameters:

  • $post_id (int) The post in the loop or the one the builder resolved.

Additional usage locations:

  • src-plus/Theme_Builders/Enfold/Blog_Similar_Properties.php:207

    apply_filters( 'immomakler_current_property_id', $post_id )
  • src-plus/Theme_Builders/WPBakery/Impreza_Similar_Properties.php:115

    apply_filters( 'immomakler_current_property_id', $post_id )
  • src/Theme_Builders/Avada/Dynamic_Data.php:230

    apply_filters( 'immomakler_current_property_id', $candidate )
  • src/Theme_Builders/Avada/Rendering_Conditions.php:182

    apply_filters( 'immomakler_current_property_id', (int) get_the_ID() )
  • src/Theme_Builders/Blocks/Bindings/Property_Bindings_Source.php:129

    apply_filters( 'immomakler_current_property_id', $post_id )
  • src/Theme_Builders/Enfold/Dynamic_Content.php:224

    apply_filters( 'immomakler_current_property_id', $post_id )
  • src/Theme_Builders/WPBakery/Impreza_Dynamic_Values.php:226

    apply_filters( 'immomakler_current_property_id', $candidate )

Type: Filter

Since: 5.70.0

Description:

Filters whether a Divi Loop on a property archive is paged with the archive.

Return false for a Loop that should always show the same properties, such as a teaser row above the results.

File: src/Theme_Builders/Divi5/Divi5_Addon.php:937

Signature:

apply_filters( 'immomakler_divi5_page_loop_with_archive', true, $query )

Parameters:

  • $page_with_archive (bool) Whether to page the Loop.
  • $query (\WP_Query) The Loop’s query.

Type: Filter

Since: 5.68.0

Description:

Filters the directories Enfold loads WP-ImmoMakler elements from.

Every PHP file in these directories is required by Enfold and every aviaShortcodeTemplate subclass it declares is instantiated, so the directories must contain element classes only.

File: src/Theme_Builders/Enfold/Enfold_Addon.php:190

Signature:

apply_filters( 'immomakler_enfold_element_paths', $paths )

Parameters:

  • $paths (array<int,string>) Absolute directory paths, trailing slash included.

Type: Action

File: skins/bootstrap3/functions.php:2190

Signature:

do_action( 'immomakler_flash_message' )

Type: Action

File: skins/bootstrap3/single/contactform.php:17

Signature:

do_action( 'immomakler_no_contactform' )

Type: Filter

File: skins/bootstrap3/functions.php:1197

Signature:

apply_filters( 'immomakler_pagination', $paginate_links )

Type: Filter

Since: 5.71.0

Description:

Filters the sentence that says a reference property is no longer on offer.

Page builders show it as the dynamic field “Referenz: Hinweis verkauft/vermietet”, the starter templates as a notice below the head of a reference’s detail page. Not called for a property that is not a reference.

File: src/Theme_Builders/Dynamic_Fields/Field_Resolver.php:200

Signature:

apply_filters( 'immomakler_reference_notice_text', $text, $post_id )

Parameters:

  • $text (string) “Diese Immobilie wurde bereits erfolgreich verkauft.” for a sale, the “vermietet” sentence otherwise.
  • $post_id (int) The property.

Type: Filter

Since: 5.71.0

Description:

Filters the text that says what became of a reference property.

Page builders show it as the dynamic field “Referenz: Vermittlungsergebnis”, the starter templates on the card of a reference in place of its key figures. Not called for a property that is not a reference.

File: src/Theme_Builders/Dynamic_Fields/Field_Resolver.php:163

Signature:

apply_filters( 'immomakler_reference_result_text', $text, $post_id )

Parameters:

  • $text (string) “erfolgreich verkauft” for a sale, “erfolgreich vermietet” otherwise.
  • $post_id (int) The property.

Type: Filter

Since: 5.71.0

Description:

Filters whether WP-ImmoMakler offers its starting layouts for the property list and detail templates in the Site Editor.

File: src/Frontend/Block_Templates.php:121

Signature:

apply_filters( 'immomakler_register_template_patterns', true )

Parameters:

  • $register (bool) Whether to register the patterns. Default true on block themes.

Type: Action

File: skins/bootstrap3/single/contact-property.php:18

Signature:

do_action( 'immomakler_single_contact_begin' )

Type: Action

File: skins/bootstrap3/single/contact-property.php:68

Signature:

do_action( 'immomakler_single_contact_bottom' )

Type: Action

File: skins/bootstrap3/single/description-property.php:28

Signature:

do_action( 'immomakler_single_description_end' )

Type: Action

File: skins/bootstrap3/single/data-property.php:39

Signature:

do_action( 'immomakler_single_details_before_price' )

Type: Action

File: skins/bootstrap3/single/data-property.php:23

Signature:

do_action( 'immomakler_single_details_begin' )

Type: Action

File: skins/bootstrap3/single/data-property.php:55

Signature:

do_action( 'immomakler_single_details_end' )

Type: Action

File: src-plus/PDF/Pdf_Generator.php:700

Signature:

do_action( 'immomakler_single_print_button' )

Type: Action

File: skins/bootstrap3/single/actions-property.php:22

Signature:

do_action( 'immomakler_single_property_actions' )

Type: Filter

File: skins/bootstrap3/functions.php:1447

Signature:

apply_filters( 'immomakler_single_title', get_the_title( $post_id ) )

Type: Filter

Since: 5.71.0

Description:

Filters the sentence that says a property is reserved, sold or let.

Page builders show it as the dynamic field “Status: Hinweis reserviert, verkauft oder vermietet”, the starter templates as a notice at the top of the detail page. Not called for an available property, and not for a reference, whose sentence immomakler_reference_notice_text filters. An empty string shows no notice.

File: src/Theme_Builders/Dynamic_Fields/Field_Resolver.php:250

Signature:

apply_filters( 'immomakler_status_notice_text', $text, $post_id, $kind )

Parameters:

  • $text (string) The sentence.
  • $post_id (int) The property.
  • $kind (string) reserved, sold or rented.

Type: Action

Since: 5.68.0

Description:

Fires after a template page took over the request.

File: src/Frontend/Template_Pages/Template_Page_Controller.php:298

Signature:

do_action( 'immomakler_template_page_activated', $context )

Parameters:

  • $context (Template_Page_Context) The active takeover.

immomakler_template_page_context_head_prefixes

Section titled “immomakler_template_page_context_head_prefixes”

Type: Filter

Since: 5.68.0

Description:

Filters which wp_head callbacks run in the property context on a template page. Matched against the callback’s class or function name.

File: src/Frontend/Template_Pages/Template_Page_Controller.php:483

Signature:

apply_filters( 'immomakler_template_page_context_head_prefixes', [ 'ImmoMakler', 'immomakler_', 'Yoast\\WP\\SEO', 'WPSEO', 'wpseo_', 'RankMath', 'rank_math_' ] )

Parameters:

  • $prefixes (string[]) Class or function name prefixes.

Type: Filter

File: src/Frontend/Template_Pages/Template_Page_Visibility.php:108

Signature:

apply_filters( 'immomakler_template_page_id', 0 )

Additional usage locations:

  • src/Theme_Builders/Divi/Template_Page_Static_Css.php:54

    apply_filters( 'immomakler_template_page_id', 0 )
  • src/Theme_Builders/Enfold/Enfold_Addon.php:139

    apply_filters( 'immomakler_template_page_id', 0 )

Type: Filter

Since: 5.68.0

Description:

Filters where a visitor opening a template page URL is sent.

File: src/Frontend/Template_Pages/Template_Page_Visibility.php:84

Signature:

apply_filters( 'immomakler_template_page_redirect', $archive, $page_id )

Parameters:

  • $archive (string) The target URL.
  • $page_id (int) The template page.