Zum Inhalt springen

Hooks: Templates

Typ: Action

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

Signatur:

do_action( 'immomakler_after_archive' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_archive_item' )

Weitere Verwendungsorte:

  • 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' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_archive_items' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_after_archive_items' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_archive_items_references' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_after_archive_items_references' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_archive_no_items' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_after_archive_no_items' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_pagination' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_shortcode_archive_items' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_single' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_after_single' )

Typ: Action

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

Signatur:

do_action( 'immomakler_after_single_details' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_after_single_details' )

Typ: Filter

Datei: skins/bootstrap3/functions.php:1342

Signatur:

apply_filters( 'immomakler_archive_headline', $title )

Typ: Action

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

Signatur:

do_action( 'immomakler_archive_map' )

Typ: Filter

Datei: classes/class-immomakler.php:7211

Signatur:

apply_filters( 'immomakler_archive_on_delete', false )

Typ: Action

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

Signatur:

do_action( 'immomakler_archive_property_actions' )

Typ: Action

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

Signatur:

do_action( 'immomakler_archive_property_details_bottom' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_archive_property_details_bottom' )

Typ: Action

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

Signatur:

do_action( 'immomakler_archive_property_details_top' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_archive_property_details_top' )

Typ: Filter

Datei: skins/bootstrap3/functions.php:1284

Signatur:

apply_filters( 'immomakler_archive_property_subtitle_position', $position )

Typ: Filter

Datei: skins/bootstrap3/functions.php:1441

Signatur:

apply_filters( 'immomakler_archive_subheadline', $title )

Typ: Action

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

Signatur:

do_action( 'immomakler_archive_thumbnail_end' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_archive_thumbnail_end' )

Typ: Filter

Datei: skins/bootstrap3/functions.php:1326

Signatur:

apply_filters( 'immomakler_archive_title', $title )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_archive' )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_archive_item' )

Weitere Verwendungsorte:

  • 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' )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_archive_items' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_before_archive_items' )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_archive_items_references' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_before_archive_items_references' )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_archive_no_items' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_before_archive_no_items' )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_contactform' )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_single' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_before_single' )

Typ: Action

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

Signatur:

do_action( 'immomakler_before_single_details' )

Weitere Verwendungsorte:

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

    do_action( 'immomakler_before_single_details' )

Typ: Filter

Seit Version: 5.68.0

Beschreibung (aus dem Quellcode, auf Englisch):

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.

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

Signatur:

apply_filters( 'immomakler_current_property_id', $post_id )

Parameter:

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

Weitere Verwendungsorte:

  • 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 )

Typ: Filter

Seit Version: 5.70.0

Beschreibung (aus dem Quellcode, auf Englisch):

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.

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

Signatur:

apply_filters( 'immomakler_divi5_page_loop_with_archive', true, $query )

Parameter:

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

Typ: Filter

Seit Version: 5.68.0

Beschreibung (aus dem Quellcode, auf Englisch):

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.

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

Signatur:

apply_filters( 'immomakler_enfold_element_paths', $paths )

Parameter:

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

Typ: Action

Datei: skins/bootstrap3/functions.php:2190

Signatur:

do_action( 'immomakler_flash_message' )

Typ: Action

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

Signatur:

do_action( 'immomakler_no_contactform' )

Typ: Filter

Datei: skins/bootstrap3/functions.php:1197

Signatur:

apply_filters( 'immomakler_pagination', $paginate_links )

Typ: Filter

Seit Version: 5.71.0

Beschreibung (aus dem Quellcode, auf Englisch):

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.

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

Signatur:

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

Parameter:

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

Typ: Filter

Seit Version: 5.71.0

Beschreibung (aus dem Quellcode, auf Englisch):

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.

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

Signatur:

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

Parameter:

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

Typ: Filter

Seit Version: 5.71.0

Beschreibung (aus dem Quellcode, auf Englisch):

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

Datei: src/Frontend/Block_Templates.php:121

Signatur:

apply_filters( 'immomakler_register_template_patterns', true )

Parameter:

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

Typ: Action

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

Signatur:

do_action( 'immomakler_single_contact_begin' )

Typ: Action

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

Signatur:

do_action( 'immomakler_single_contact_bottom' )

Typ: Action

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

Signatur:

do_action( 'immomakler_single_description_end' )

Typ: Action

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

Signatur:

do_action( 'immomakler_single_details_before_price' )

Typ: Action

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

Signatur:

do_action( 'immomakler_single_details_begin' )

Typ: Action

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

Signatur:

do_action( 'immomakler_single_details_end' )

Typ: Action

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

Signatur:

do_action( 'immomakler_single_print_button' )

Typ: Action

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

Signatur:

do_action( 'immomakler_single_property_actions' )

Typ: Filter

Datei: skins/bootstrap3/functions.php:1447

Signatur:

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

Typ: Filter

Seit Version: 5.71.0

Beschreibung (aus dem Quellcode, auf Englisch):

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.

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

Signatur:

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

Parameter:

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

Typ: Action

Seit Version: 5.68.0

Beschreibung (aus dem Quellcode, auf Englisch):

Fires after a template page took over the request.

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

Signatur:

do_action( 'immomakler_template_page_activated', $context )

Parameter:

  • $context (Template_Page_Context) The active takeover.

Typ: Filter

Seit Version: 5.68.0

Beschreibung (aus dem Quellcode, auf Englisch):

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

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

Signatur:

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

Parameter:

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

Typ: Filter

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

Signatur:

apply_filters( 'immomakler_template_page_id', 0 )

Weitere Verwendungsorte:

  • 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 )

Typ: Filter

Seit Version: 5.68.0

Beschreibung (aus dem Quellcode, auf Englisch):

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

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

Signatur:

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

Parameter:

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