Ir al contenido

Hooks: Presentación

Tipo: Filter

Descripción (del código fuente, en inglés):

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

Archivo: skins/bootstrap3/functions.php:1475

Firma:

apply_filters( 'immomakler_archive_above_the_fold_count', $columns )

Parámetros:

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

Tipo: Filter

Desde la versión: 5.71.0

Descripción (del código fuente, en inglés):

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.

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

Firma:

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

Parámetros:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

Archivo: src/Data/Image_Sizes.php:244

Firma:

apply_filters( 'immomakler_archive_image_sizes_attr', '' )

Parámetros:

  • $sizes (string) The sizes attribute value.

Tipo: Filter

Archivo: classes/class-immomakler.php:122

Firma:

apply_filters( 'immomakler_available_themes', $skins )

Tipo: Filter

Archivo: skins/bootstrap3/functions.php:1594

Firma:

apply_filters( 'immomakler_back_to_archive_link', $backlink )

Tipo: Filter

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

Firma:

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

Tipo: Filter

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

Firma:

apply_filters( 'immomakler_carousel_load_jscss_everywhere', false )

Tipo: Filter

Archivo: src-plus/Carousel/Carousel.php:243

Firma:

apply_filters( 'immomakler_carousel_options', $owlcarousel_options )

Tipo: Filter

Desde la versión: 5.69.0

Descripción (del código fuente, en inglés):

Filters the consent strategy.

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

Firma:

apply_filters( 'immomakler_consent_mode', $mode )

Parámetros:

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

Tipo: Filter

Desde la versión: 5.69.0

Descripción (del código fuente, en inglés):

Filters the service-to-category map. A site whose consent plugin files maps under statistics, or which adds a tour provider, adjusts it here.

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

Firma:

apply_filters( 'immomakler_consent_service_categories', $categories )

Parámetros:

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

Tipo: Filter

Desde la versión: 5.69.0

Descripción (del código fuente, en inglés):

Filters the per-plugin service name map.

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

Firma:

apply_filters( 'immomakler_consent_service_names', $names )

Parámetros:

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

Tipo: Filter

Archivo: classes/class-immomakler.php:204

Firma:

apply_filters( 'immomakler_disable_frontend', false )

Otros lugares de uso:

  • classes/class-immomakler.php:612

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

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

    apply_filters( 'immomakler_disable_frontend', false )

Tipo: Filter

Archivo: classes/plus/class-immomakler-search.php:391

Firma:

apply_filters( 'immomakler_enqueue_bootstrap_js', true )

Tipo: Filter

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

Firma:

apply_filters( 'immomakler_epass_diagram_size', 'full' )

Otros lugares de uso:

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

immomakler_exclude_images_from_third_party_optimizers

Sección titulada «immomakler_exclude_images_from_third_party_optimizers»

Tipo: Filter

Descripción (del código fuente, en inglés):

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

Archivo: src/Data/Third_Party_Optimizer_Exclusions.php:90

Firma:

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

Parámetros:

  • $active (bool) Whether to exclude them.

Tipo: Filter

Archivo: classes/class-immomakler.php:6734

Firma:

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

Tipo: Filter

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

Firma:

apply_filters('immomakler_flexslider_active', false)

Otros lugares de uso:

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

    apply_filters( 'immomakler_flexslider_active', false )

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

Archivo: src/Frontend/Gallery/Image_Source_Resolver.php:203

Firma:

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

Parámetros:

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

Tipo: Filter

Desde la versión: 5.70.0

Descripción (del código fuente, en inglés):

Filter the sizes attribute of gallery images. Return an empty string (the default) to keep the value WordPress computes from the requested image size.

Archivo: src/Data/Image_Sizes.php:284

Firma:

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

Parámetros:

  • $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.

Tipo: Filter

Desde la versión: 5.68.0

Descripción (del código fuente, en inglés):

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.

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

Firma:

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

Parámetros:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

Archivo: src/Frontend/Gallery/Gallery_Service.php:125

Firma:

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

Parámetros:

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

Tipo: Action

Descripción (del código fuente, en inglés):

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.

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

Firma:

do_action( 'immomakler_gallery_register_presets', $this )

Parámetros:

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

Tipo: Filter

Desde la versión: 5.61.0

Descripción (del código fuente, en inglés):

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.

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

Firma:

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

Parámetros:

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

Otros lugares de uso:

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

    apply_filters( 'immomakler_gallery_static_controls_items', $items, $images, $post_id )
Sección titulada «immomakler_gallery_static_photos_button_text»

Tipo: Filter

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

Firma:

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

Tipo: Filter

Archivo: src/Data/Image_Sizes.php:169

Firma:

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, ], ] )

Tipo: Filter

Desde la versión: 5.69.0

Descripción (del código fuente, en inglés):

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.

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

Firma:

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

Parámetros:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

Archivo: src/Frontend/Template_Takeover.php:121

Firma:

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

Parámetros:

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

Tipo: Filter

Archivo: classes/class-immomakler.php:6754

Firma:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

Archivo: src/Helpers/Responsive_Preview_Image.php:184

Firma:

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

Parámetros:

  • $sizes (string) The sizes attribute value.

Tipo: Filter

Desde la versión: 5.60.0

Descripción (del código fuente, en inglés):

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

Archivo: src/Data/Property_Helper.php:397

Firma:

apply_filters( 'immomakler_preview_property_id', 0 )

Parámetros:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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

Archivo: src-plus/Frontend/Project_Units_View.php:323

Firma:

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

Parámetros:

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

Sección titulada «immomakler_project_units_contact_button_label»

Tipo: Filter

Descripción (del código fuente, en inglés):

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

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

Firma:

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

Parámetros:

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

immomakler_project_units_detail_panel_content

Sección titulada «immomakler_project_units_detail_panel_content»

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

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

Firma:

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

Parámetros:

  • $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.

Tipo: Filter

Desde la versión: 5.60.0

Descripción (del código fuente, en inglés):

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.

Archivo: src-plus/Frontend/Project_Units_Table.php:1818

Firma:

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

Parámetros:

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

Tipo: Filter

Desde la versión: 5.70.0

Descripción (del código fuente, en inglés):

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.

Archivo: src/Data/Property/Content_Presence.php:82

Firma:

apply_filters( 'immomakler_property_content_options', $options )

Parámetros:

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

immomakler_property_data_optional_single_keys

Sección titulada «immomakler_property_data_optional_single_keys»

Tipo: Filter

Archivo: src/Data/PropertyData.php:237

Firma:

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

Tipo: Filter

Archivo: skins/bootstrap3/functions.php:1176

Firma:

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

Tipo: Filter

Desde la versión: 5.60.0

Descripción (del código fuente, en inglés):

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.

Archivo: src/Theme_Builders/Property_Field_Icons.php:350

Firma:

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

Tipo: Filter

Desde la versión: 5.70.0

Descripción (del código fuente, en inglés):

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

Archivo: src/Theme_Builders/Property_Field_Icons.php:483

Firma:

apply_filters( 'immomakler_property_field_icon_style', $style )

Tipo: Filter

Desde la versión: 5.60.0

Descripción (del código fuente, en inglés):

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

Archivo: src/Theme_Builders/Property_Field_Icons.php:331

Firma:

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

Tipo: Filter

Desde la versión: 5.70.0

Descripción (del código fuente, en inglés):

Filters whether a property has a kind of content.

Archivo: src/Data/Property/Content_Presence.php:104

Firma:

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

Parámetros:

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

Tipo: Filter

Desde la versión: 5.70.0

Descripción (del código fuente, en inglés):

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.

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

Firma:

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

Parámetros:

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

Tipo: Filter

Desde la versión: 5.71.0

Descripción (del código fuente, en inglés):

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.

Archivo: skins/bootstrap3/single/content-property-reference.php:25

Firma:

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

Parámetros:

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

Tipo: Filter

Archivo: skins/bootstrap3/functions.php:29

Firma:

apply_filters( 'immomakler_require_jquery_in_head', false )

immomakler_similar_properties_query_variants

Sección titulada «immomakler_similar_properties_query_variants»

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

Archivo: src-plus/Data/Similar_Properties_Query.php:391

Firma:

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

Parámetros:

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

Sección titulada «immomakler_skin_bootstrap3_vertical_archive_layout»

Tipo: Filter

Archivo: skins/bootstrap3/functions.php:993

Firma:

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

Tipo: Filter

Archivo: skins/bootstrap3/functions.php:143

Firma:

apply_filters( 'immomakler_skin_gallery_preset', $default_layout )

Otros lugares de uso:

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

    apply_filters( 'immomakler_skin_gallery_preset', $immomakler_default_layout )

Tipo: Filter

Archivo: src/Frontend/Skin.php:230

Firma:

apply_filters( 'immomakler_skin_paths', $skin_paths )

immomakler_theme_bootstrap3_vertical_archive_layout

Sección titulada «immomakler_theme_bootstrap3_vertical_archive_layout»

Tipo: Filter

Archivo: skins/bootstrap3/functions.php:993

Firma:

apply_filters( 'immomakler_theme_bootstrap3_vertical_archive_layout', false )

Tipo: Filter

Desde la versión: 5.70.0

Descripción (del código fuente, en inglés):

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

Archivo: skins/bootstrap3/functions.php:441

Firma:

apply_filters( 'immomakler_theme_colors', [] )

Parámetros:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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

Archivo: src-plus/Frontend/Virtual_Tours/Tour_Lightbox_Renderer.php:206

Firma:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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

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

Firma:

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

Parámetros:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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

Archivo: src/Frontend/Videos/Video_Lightbox_Renderer.php:419

Firma:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

Archivo: src/Frontend/Videos/Video_Lightbox_Renderer.php:291

Firma:

apply_filters( 'immomakler_video_poster_browser_capture', ! is_admin() )

Parámetros:

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

Tipo: Filter

Descripción (del código fuente, en inglés):

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.

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

Firma:

apply_filters( 'immomakler_video_poster_match_distance', self::MATCH_DISTANCE )

Parámetros:

  • $distance (int) Maximum accepted distance.