Skip to content

Hooks: Display

Type: Filter

Description:

Filters how many archive items count as above the fold and therefore fetch their image eagerly.

File: skins/bootstrap3/functions.php:1580

Signature:

apply_filters( 'immomakler_archive_above_the_fold_count', $columns )

Parameters:

  • $columns (int) Number of items, defaults to the configured column count.

Type: Filter

Since: 5.71.0

Description:

Filters the description of a property list.

Used as og:description of the list and, through Yoast SEO and Rank Math, as its meta description when the SEO plugin has none of its own for the term.

File: src/Frontend/Archive/Archive_Description.php:51

Signature:

apply_filters( 'immomakler_archive_description', $text, $term )

Parameters:

  • $text (string) The description as plain text, by default the term description set on the “Listen-SEO” screen; empty for none.
  • $term (\WP_Term) The term of the list.

Type: Filter

Since: 5.71.0

Description:

Filters the preview image of a property list.

Used for og:image (through Yoast SEO or Rank Math, when no image is set there for the page) and for the thumbnail meta tag.

File: src/Frontend/Archive/Archive_Image.php:78

Signature:

apply_filters( 'immomakler_archive_image', $image, $term )

Parameters:

  • $term (\WP_Term|null) The term of the list, null on the property archive and search results.

Type: Filter

Description:

Filter the sizes attribute of archive card images.

Return an empty string (the default) to keep the value WordPress computes from the requested image size.

File: src/Data/Image_Sizes.php:244

Signature:

apply_filters( 'immomakler_archive_image_sizes_attr', '' )

Parameters:

  • $sizes (string) The sizes attribute value.

Type: Filter

File: classes/class-immomakler.php:127

Signature:

apply_filters( 'immomakler_available_themes', $skins )

Type: Filter

File: skins/bootstrap3/functions.php:1699

Signature:

apply_filters( 'immomakler_back_to_archive_link', $backlink )

Type: Filter

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

Signature:

apply_filters( 'immomakler_calendly_html', $calendly_html, $calendly_link->get_url() )

Type: Filter

File: src-plus/Carousel/Carousel.php:132

Signature:

apply_filters( 'immomakler_carousel_load_jscss_everywhere', false )

Type: Filter

Since: 5.23

Description:

Filters the OWL Carousel options of the property carousel.

Runs for every carousel on the site - the shortcode and the page builder elements alike - but not for their editor previews.

File: src-plus/Carousel/Carousel.php:319

Signature:

apply_filters( 'immomakler_carousel_options', $owlcarousel_options )

Parameters:

  • $owlcarousel_options (array<string,mixed>) OWL Carousel options, built from the element’s settings and the Customizer.

Type: Filter

Since: 5.71.0

Description:

Filters the look classes of the accept button of a consent overlay.

The button of the map’s consent box, of the video and tour tiles and of the Calendly box. By default a page builder’s own button classes (Avada, Elementor, Bricks, Divi, a block theme), else Bootstrap’s btn btn-primary for the skin plus immomakler-consent-button--plain, which gives the button a look of its own outside the skin. The class the overlay’s script finds the button by is always added.

File: src/Frontend/Consent/Consent_Button.php:107

Signature:

apply_filters( 'immomakler_consent_button_classes', $classes, $builder )

Parameters:

  • $classes (array<int,string>) The classes.
  • $builder (string|null) The active page builder’s slug, or null.

Type: Filter

Since: 5.69.0

Description:

Filters the consent strategy.

File: src/Frontend/Consent/Consent_Settings.php:79

Signature:

apply_filters( 'immomakler_consent_mode', $mode )

Parameters:

  • $mode (string) One of ‘auto’, ‘own’, ‘off’.

Type: Filter

Since: 5.69.0

Description:

Filters the service-to-category map.

A site whose consent plugin files maps under statistics, or which adds a tour provider, adjusts it here.

File: src/Frontend/Consent/Consent_Settings.php:115

Signature:

apply_filters( 'immomakler_consent_service_categories', $categories )

Parameters:

  • $categories (array<string,string>) Service slug => category.

Type: Filter

Since: 5.69.0

Description:

Filters the per-plugin service name map.

File: src/Frontend/Consent/Consent_Settings.php:140

Signature:

apply_filters( 'immomakler_consent_service_names', $names )

Parameters:

  • $names (array<string,array<string,string>>) Provider => our slug => theirs.

Type: Filter

File: classes/class-immomakler.php:210

Signature:

apply_filters( 'immomakler_disable_frontend', false )

Additional usage locations:

  • classes/class-immomakler.php:696

    apply_filters( 'immomakler_disable_frontend', false )
  • src/Frontend/Skin.php:40

    apply_filters( 'immomakler_disable_frontend', false )
  • src/Frontend/Template_Pages/Template_Page_Controller.php:234

    apply_filters( 'immomakler_disable_frontend', false )

Type: Filter

File: classes/plus/class-immomakler-search.php:418

Signature:

apply_filters( 'immomakler_enqueue_bootstrap_js', true )

Type: Filter

Description:

Filters the image size of the energy certificate scale.

The size of the scale’s raster image wherever the plugin draws it: the detail view, the PDF exposé and the page builder elements.

File: skins/bootstrap3/single/epass-property.php:29

Signature:

apply_filters( 'immomakler_epass_diagram_size', 'full' )

Parameters:

  • $size (string) Image size name. Default ‘full’.

Additional usage locations:

  • skins/bootstrap3/single/epass-property.php:53

    apply_filters( 'immomakler_epass_diagram_size', 'full' )
  • skins/bootstrap3/single/epass-property.php:78

    apply_filters( 'immomakler_epass_diagram_size', 'full' )
  • src-plus/Energy_Certificate/Energy_Certificate.php:116

    apply_filters( 'immomakler_epass_diagram_size', 'full' )
  • src-plus/Theme_Builders/Elementor/Widgets/Single_Epass_Diagram.php:187

    apply_filters( 'immomakler_epass_diagram_size', 'full' )
  • src-plus/Theme_Builders/Enfold/Elements/Single_Epass_Diagram.php:91

    apply_filters( 'immomakler_epass_diagram_size', 'full' )
  • src/Theme_Builders/Divi/Single_Epass_Module.php:65

    apply_filters( 'immomakler_epass_diagram_size', 'full' )
  • src/Theme_Builders/Divi5/Single_Epass_Diagram_Module.php:94

    apply_filters( 'immomakler_epass_diagram_size', 'full' )
  • src/Theme_Builders/Epass_Diagram.php:62

    apply_filters( 'immomakler_epass_diagram_size', 'full' )

immomakler_exclude_images_from_third_party_optimizers

Section titled “immomakler_exclude_images_from_third_party_optimizers”

Type: Filter

Description:

Filter whether WP-ImmoMakler property photos are excluded from third-party image optimizers.

File: src/Data/Third_Party_Optimizer_Exclusions.php:96

Signature:

apply_filters( 'immomakler_exclude_images_from_third_party_optimizers', (bool) ImmoMakler_Options::get( 'exclude_images_from_third_party_optimizers', true ) )

Parameters:

  • $active (bool) Whether to exclude them.

Type: Filter

File: classes/class-immomakler.php:7028

Signature:

apply_filters( 'immomakler_flaeche_prio', [ 'wohnflaeche', 'gesamtflaeche', 'ladenflaeche', 'bueroflaeche', 'verkaufsflaeche', 'gastroflaeche', 'nutzflaeche', 'lagerflaeche', 'grundstuecksflaeche', 'vermietbare_flaeche', 'sonstflaeche', ] )

Type: Filter

File: classes/plus/class-immomakler-flexslider.php:19

Signature:

apply_filters('immomakler_flexslider_active', false)

Additional usage locations:

  • src-plus/Frontend/Shortcodes.php:687

    apply_filters( 'immomakler_flexslider_active', false )

Type: Filter

Description:

Filter the resolved gallery image collection.

Fires from both {@see self::get_attachment_ids()} and {@see self::get_collection()} so reordering / filtering / augmentation applies uniformly regardless of which entry point a caller uses.

File: src/Frontend/Gallery/Image_Source_Resolver.php:209

Signature:

apply_filters( 'immomakler_gallery_image_collection', $collection, $post_id, $source )

Parameters:

  • $collection (Image_Collection) Resolved collection.
  • $post_id (int) Property post ID the resolver was called with.
  • $source (string) One of the SOURCE_* constants.

Type: Filter

Since: 5.70.0

Description:

Filter the sizes attribute of gallery images.

Return an empty string (the default) to keep the value WordPress computes from the requested image size.

File: src/Data/Image_Sizes.php:284

Signature:

apply_filters( 'immomakler_gallery_image_sizes_attr', '', $role, $preset, $image_size )

Parameters:

  • $sizes (string) The sizes attribute value.
  • $role (string) main, thumb or tile.
  • $preset (string) Gallery preset id, e.g. vertical_thumbs.
  • $image_size (string) Requested registered image size.

Type: Filter

Since: 5.68.0

Description:

Filter the URL a gallery photo links to.

Fires only when the gallery’s click mode is permalink. Returning an empty string renders the photos unlinked.

File: src/Frontend/Gallery/Image_Click_Resolver.php:136

Signature:

apply_filters( 'immomakler_gallery_link_url', $url, $post_id, $options )

Parameters:

  • $url (string) The property’s permalink, or '' when the reference gate suppressed it.
  • $post_id (int) Resolved property post ID.

Type: Filter

Description:

Filter the merged option set just before rendering.

Receives the preset’s defaults already merged with per-call overrides; subscribers get the last word on values such as autoplay, loop, slide counts, navigation visibility, etc. without having to reach into the preset implementation.

File: src/Frontend/Gallery/Gallery_Service.php:135

Signature:

apply_filters( 'immomakler_gallery_options', $options, $preset->id(), $resolved_post_id, $source )

Parameters:

  • $preset_id (string) Active preset id.
  • $resolved_post_id (int) Resolved property post ID.
  • $source (string) Image source the gallery was built for (one of the SOURCE_* constants).

Type: Action

Description:

Register custom gallery presets.

Fires once per request, the first time any consumer reads from the registry. Subscribers receive the registry instance and call {@see Preset_Registry::register()} on it for each preset they want to contribute.

File: src/Frontend/Gallery/Preset_Registry.php:120

Signature:

do_action( 'immomakler_gallery_register_presets', $this )

Parameters:

  • $registry (Preset_Registry) The registry to register presets against.

Type: Filter

Since: 5.61.0

Description:

Filter the items rendered in the static-fullwidth gallery’s bottom-right controls overlay.

The base preset only adds the “Alle N Fotos anzeigen” button. Other code (theme builders, separate features) can hook in to add “Grundriss”, “Video”, “Virtueller Rundgang” links — typically using href to anchor-link to a section elsewhere on the property page.

File: src/Frontend/Gallery/Presets/Static_Compact_Preset.php:412

Signature:

apply_filters( 'immomakler_gallery_static_controls_items', $items, $images, $post_id )

Parameters:

  • $images (Image_Collection) Resolved image collection.
  • $post_id (int) Property post ID.

Additional usage locations:

  • src/Frontend/Gallery/Presets/Static_Fullwidth_Preset.php:417

    apply_filters( 'immomakler_gallery_static_controls_items', $items, $images, $post_id )
Section titled “immomakler_gallery_static_photos_button_text”

Type: Filter

File: src/Frontend/Gallery/Presets/Static_Hero_Preset.php:145

Signature:

apply_filters( 'immomakler_gallery_static_photos_button_text', /* translators: %s: number of photos */ _n( '%s Foto ansehen', '%s Fotos ansehen', $count, 'immomakler' ) )

Type: Filter

File: src/Data/Image_Sizes.php:169

Signature:

apply_filters( 'immomakler_image_sizes', [ self::GALLERY_BIG => [ 'width' => 900, 'height' => 1350, 'crop' => false, ], self::GALLERY_THUMB => [ 'width' => 200, 'height' => 300, 'crop' => false, ], self::ARCHIVE_THUMB => [ 'width' => 400, 'height' => 600, 'crop' => false, ], self::ARCHIVE_THUMB_RETINA => [ 'width' => 800, 'height' => 1200, 'crop' => false, ], self::ARCHIVE_THUMB_BIG => [ 'width' => 475, 'height' => 713, 'crop' => false, ], self::GALLERY_XL => [ 'width' => 1200, 'height' => 1800, 'crop' => false, ], self::PERSON_THUMB => [ 'width' => 400, 'height' => 600, 'crop' => false, ], ] )

Type: Filter

Since: 5.69.0

Description:

Filters whether a download counts as a floorplan.

Lets a site widen the match to whatever its own CRM names the file — “Plan”, “Layout”, a floor abbreviation — or exclude a false positive.

File: src/Data/Property/Downloads/Download.php:105

Signature:

apply_filters( 'immomakler_is_floorplan_download', $is_floorplan, $this )

Parameters:

  • $is_floorplan (bool) Whether the name matched.
  • $download (Download) The download being tested.

Type: Filter

Since: 5.71.0

Description:

Filters whether a request shows the project list.

The template conditions “Bauprojekte-Liste” of the page builders and the template pages follow the answer.

File: src/Frontend/List_View.php:93

Signature:

apply_filters( 'immomakler_is_project_list', $is, $query )

Parameters:

  • $is (bool) Whether the query lists the projects. Default: a property list filtering the object type or status “Bauprojekt”.
  • $query (WP_Query|null) The query checked, the main query by default.

Type: Filter

Since: 5.71.0

Description:

Filters whether a request shows the reference list.

The template conditions “Referenzen-Liste” of the page builders and the template pages follow the answer.

File: src/Frontend/List_View.php:69

Signature:

apply_filters( 'immomakler_is_reference_list', $is, $query )

Parameters:

  • $is (bool) Whether the query lists the references. Default: a property list filtering the status “Referenz”.
  • $query (WP_Query|null) The query checked, the main query by default.

Type: Filter

Since: 5.71.0

Description:

Filters whether WP-ImmoMakler renders the property list and detail views with its own templates.

Return false to leave every property view to the theme, for example with a theme builder WP-ImmoMakler does not detect. Templates the theme provides itself are used regardless.

File: src/Frontend/Template_Takeover.php:144

Signature:

apply_filters( 'immomakler_load_cpt_templates', $enabled, $type )

Parameters:

  • $enabled (bool) Whether the plugin renders the view.
  • $type (string) Template type: single, archive, taxonomy or 404.

Type: Filter

File: classes/class-immomakler.php:7048

Signature:

apply_filters( 'immomakler_preis_prio', [ 'kaufpreis', 'kaltmiete', 'nettokaltmiete', 'warmmiete', 'gesamtmietenetto', 'gesamtmietebrutto', 'mietpreis_pro_qm', ] )

Type: Filter

Description:

Filter the sizes attribute for video/tour preview tiles. The tile is fluid (100% of a content-column panel), so the default assumes a full-width tile on mobile and a ~720px column on desktop. Page-builder layouts with a different column width can override it.

File: src/Helpers/Responsive_Preview_Image.php:185

Signature:

apply_filters( 'immomakler_preview_image_sizes', '(max-width: 768px) 100vw, 720px' )

Parameters:

  • $sizes (string) The sizes attribute value.

Type: Filter

Since: 5.60.0

Description:

Filter the example property ID used by builder previews (Divi Visual Builder, WPBakery Frontend Editor, Bricks preview, Elementor preview).

Set this to a fully-populated property’s post ID so all four theme-builder integrations show consistent sample data while editing layout templates. Return 0 to fall back to the default picker (latest published immomakler_object with status offen).

File: src/Data/Property_Helper.php:550

Signature:

apply_filters( 'immomakler_preview_property_id', 0 )

Parameters:

  • $post_id (int) Default 0 (no override).

Type: Filter

Description:

Filters the label of the “show project page” button shown below the units table on a single unit page.

File: src-plus/Frontend/Project_Units_View.php:506

Signature:

apply_filters( 'immomakler_project_page_button_label', __( 'Projektseite anzeigen', 'immomakler' ), $project_id, $unit_post_id )

Parameters:

  • $label (string) Button label.
  • $project_id (int) Parent project post ID.
  • $unit_post_id (int) Current unit post ID.

immomakler_project_units_contact_button_label

Section titled “immomakler_project_units_contact_button_label”

Type: Filter

Description:

Filters the label of the “Kontakt aufnehmen” button shown in a unit’s expandable detail panel.

File: src-plus/Frontend/Project_Units_Detail_Panel.php:183

Signature:

apply_filters( 'immomakler_project_units_contact_button_label', __( 'Kontakt aufnehmen', 'immomakler' ), $post_id )

Parameters:

  • $label (string) Button label.
  • $post_id (int) Unit post ID.

immomakler_project_units_detail_panel_content

Section titled “immomakler_project_units_detail_panel_content”

Type: Filter

Description:

Filters the content of a unit’s expandable detail panel (the “Akkordeon” feature), before it is wrapped in the panel container.

Use this to append custom markup — an enquiry button, a download link — to the panel, or to replace its content entirely. Returning a non-empty value also suppresses the “Keine weiteren Details verfügbar.” placeholder.

The panel is rendered on demand by {@see Project_Units_Ajax}, so the callback runs during an admin-ajax request, not during the page render that produced the table.

File: src-plus/Frontend/Project_Units_Detail_Panel.php:141

Signature:

apply_filters( 'immomakler_project_units_detail_panel_content', $content, $post_id )

Parameters:

  • $content (string) Panel content: facts list, cover-image gallery and — when enabled — the contact section. Empty when the unit has none of them.
  • $post_id (int) Unit post ID.

Type: Filter

Since: 5.60.0

Description:

Filters the SVG markup used for the “Details” column info icon.

Lets themes / customer code swap the default Heroicons-style information-circle for a different glyph (e.g. external-link arrow, PDF icon, brand mark) without having to override the whole template. The element itself carries the accessible label (aria-label), so the SVG should keep aria-hidden="true" — and any replacement should be safe HTML, since it is emitted unescaped by design.

File: src-plus/Frontend/Project_Units_Table.php:1947

Signature:

apply_filters( 'immomakler_project_units_details_icon', self::DETAILS_ICON_SVG, $row_post_id )

Parameters:

  • $svg (string) The default SVG markup for the icon.
  • $post_id (int) ID of the unit post being rendered.

Type: Filter

Since: 5.70.0

Description:

Filters the content kinds page builder display conditions offer.

Add a key here together with an immomakler_property_has_content callback to offer a condition of your own.

File: src/Data/Property/Content_Presence.php:92

Signature:

apply_filters( 'immomakler_property_content_options', $options )

Parameters:

  • $options (array<string,string>) Content key => label.

immomakler_property_data_optional_single_keys

Section titled “immomakler_property_data_optional_single_keys”

Type: Filter

File: src/Data/PropertyData.php:238

Signature:

apply_filters( 'immomakler_property_data_optional_single_keys', [ 'objekt_typ' ], $this->post_id )

Type: Filter

File: skins/bootstrap3/functions.php:1273

Signature:

apply_filters( 'immomakler_property_excerpt', $excerpt, $post_id )

Type: Filter

Since: 5.60.0

Description:

Filter the property field-key → icon-key default mapping.

Tells the “Automatisch” choice which icon to pick for each PropertyData field. Add entries for custom user-defined fields.

File: src/Theme_Builders/Property_Field_Icons.php:350

Signature:

apply_filters( 'immomakler_property_field_icon_map', self::default_field_map() )

Type: Filter

Since: 5.70.0

Description:

Filter the stroke width and form of the property field icons.

File: src/Theme_Builders/Property_Field_Icons.php:483

Signature:

apply_filters( 'immomakler_property_field_icon_style', $style )

Type: Filter

Since: 5.60.0

Description:

Filter the property field icon library.

Add or override icons available in the Eckdaten-Boxen widget across all theme builders. Each entry must be keyed by a unique icon key and contain label and svg keys. The SVG markup is the inner SVG (paths, circles, rects) — the <svg> envelope is added at render time. An optional solid set to true marks a filled icon (since 5.71.0).

File: src/Theme_Builders/Property_Field_Icons.php:331

Signature:

apply_filters( 'immomakler_property_field_icons', self::default_icons() )

Type: Filter

Since: 5.70.0

Description:

Filters whether a property has a kind of content.

File: src/Data/Property/Content_Presence.php:114

Signature:

apply_filters( 'immomakler_property_has_content', $has, $content, $post_id )

Parameters:

  • $has (bool) Whether the content is present.
  • $content (string) Content key.
  • $post_id (int) Property post ID.

Type: Filter

Since: 5.70.0

Description:

Filters the plural forms of the property-type terms.

Lets a site add plurals for term names of its own, or reword the shipped ones.

File: src/Data/Taxonomies/Property_Type_Plural.php:259

Signature:

apply_filters( 'immomakler_property_type_plurals', $plurals, $count )

Parameters:

  • $count (int) Number of properties the names stand for.

Type: Filter

Since: 5.71.0

Description:

Filters the PropertyData keys listed as key facts of a reference property.

The default is the field set of the Eckdaten elements of the page builders, the areas, the rooms and the parking spaces, plus the year of construction. Prices, the object number, the address and custom fields are deliberately not among them.

File: src/Data/PropertyData.php:287

Signature:

apply_filters( 'immomakler_reference_single_data_keys', [ 'wohnflaeche', 'nutzflaeche', 'bueroflaeche', 'ladenflaeche', 'lagerflaeche', 'verkaufsflaeche', 'gewerbeflaeche', 'gesamtflaeche', 'grundstuecksflaeche', 'anzahl_zimmer', 'anzahl_stellplaetze', 'baujahr', ] )

Parameters:

  • $keys (string[]) PropertyData keys, listed in this order when set.

Type: Filter

File: skins/bootstrap3/functions.php:69

Signature:

apply_filters( 'immomakler_require_jquery_in_head', false )

immomakler_similar_properties_query_variants

Section titled “immomakler_similar_properties_query_variants”

Type: Filter

Description:

Filters the ordered list of query-argument variants tried when looking for similar properties.

Allows adding, removing, or reordering relaxation steps (e.g. inserting a price-range or living-space variant) without touching this class.

File: src-plus/Data/Similar_Properties_Query.php:404

Signature:

apply_filters( 'immomakler_similar_properties_query_variants', $variants, $type_slugs, $vermarktungsart, $ort, $center, $exclude_ids, $count )

Parameters:

  • $type_slugs (string[]) Top-level object-type term slugs of the current property.
  • $vermarktungsart (string) ‘kauf’ or ‘miete’.
  • $ort (string) Location term name of the current property.
  • $center (string) “PLZ Ort” geo-search center of the current property.
  • $exclude_ids (int[]) Post IDs to always exclude.
  • $count (int) Maximum number of properties to return.

immomakler_skin_bootstrap3_vertical_archive_layout

Section titled “immomakler_skin_bootstrap3_vertical_archive_layout”

Type: Filter

File: skins/bootstrap3/functions.php:1090

Signature:

apply_filters( 'immomakler_skin_bootstrap3_vertical_archive_layout', apply_filters( 'immomakler_theme_bootstrap3_vertical_archive_layout', false ) )

Type: Filter

File: skins/bootstrap3/functions.php:193

Signature:

apply_filters( 'immomakler_skin_gallery_preset', $default_layout )

Additional usage locations:

  • skins/bootstrap3/single/gallery-swiper.php:39

    apply_filters( 'immomakler_skin_gallery_preset', $immomakler_default_layout )

Type: Filter

File: src/Frontend/Skin.php:416

Signature:

apply_filters( 'immomakler_skin_paths', $skin_paths )

immomakler_theme_bootstrap3_vertical_archive_layout

Section titled “immomakler_theme_bootstrap3_vertical_archive_layout”

Type: Filter

File: skins/bootstrap3/functions.php:1090

Signature:

apply_filters( 'immomakler_theme_bootstrap3_vertical_archive_layout', false )

Type: Filter

Since: 5.70.0

Description:

Filters the default colours a theme supplies to WP-ImmoMakler.

Applied only while “Farben anpassen” is off. Return primary (buttons, gallery controls, highlights), optionally link (text links) and inverted (text on the primary colour) as CSS colours; custom properties such as var(--theme-accent, #336699) are allowed.

File: skins/bootstrap3/functions.php:538

Signature:

apply_filters( 'immomakler_theme_colors', [] )

Parameters:

  • $colors (array<string,string>) Colours supplied so far; empty by default.

Type: Filter

Description:

Filter the lightGallery options of a single tour-lightbox tile.

File: src-plus/Frontend/Virtual_Tours/Tour_Lightbox_Renderer.php:207

Signature:

apply_filters( 'immomakler_tour_lightbox_options', $config, $element )

Type: Filter

Description:

Filters how long a tour-link reachability verdict is cached.

File: src-plus/Data/Property/Virtual_Tours/Link_Checker.php:182

Signature:

apply_filters( 'immomakler_tour_link_check_ttl', $default_ttl, $url, $is_reachable )

Parameters:

  • $default_ttl (int) Cache lifetime in seconds.
  • $url (string) The checked tour URL.
  • $is_reachable (bool) Whether the link was reachable.

Type: Filter

Description:

Filter the lightGallery options of a single video-lightbox tile.

File: src/Frontend/Videos/Video_Lightbox_Renderer.php:420

Signature:

apply_filters( 'immomakler_video_lightbox_options', $config, $element )

Type: Filter

Description:

Filter whether visitors’ browsers may generate missing video posters.

Decoding a frame costs the visitor a few hundred kilobytes of the video, once per video across the whole site. Return false to rely solely on ffmpeg or on featured images set by hand.

File: src/Frontend/Videos/Video_Lightbox_Renderer.php:292

Signature:

apply_filters( 'immomakler_video_poster_browser_capture', ! is_admin() )

Parameters:

  • $enabled (bool) Whether the browser capture is allowed.

Type: Filter

Description:

Filter how similar two browser-captured frames must be to agree.

Lower is stricter. Measured as a Hamming distance over the 64-bit dHash, so 0 demands identical hashes and 64 accepts anything.

File: src/Frontend/Videos/Video_Poster_Quorum.php:118

Signature:

apply_filters( 'immomakler_video_poster_match_distance', self::MATCH_DISTANCE )

Parameters:

  • $distance (int) Maximum accepted distance.