Skip to content

Hooks: Integrations

immomakler_casamail_property_reference_key

Section titled “immomakler_casamail_property_reference_key”

Type: Filter

File: src/Mail/Casamail.php:253

Signature:

apply_filters( 'immomakler_casamail_property_reference_key', 'objektnr_extern' )

Type: Filter

Since: 5.71.0

Description:

Filters a URL the headless API hands to the front end.

File: src-plus/Headless/Url/Frontend_Url_Mapper.php:314

Signature:

apply_filters( 'immomakler_headless_frontend_url', $url, $post_id, $kind )

Parameters:

  • $url (string) The URL built from the configured front-end URL and path pattern.
  • $post_id (int) The property post ID, the term ID for term, or 0 for the archive.
  • $kind (string) What the URL points to: property, archive, term (a category archive, since 5.71.0) or link (any other page).

Type: Filter

Since: 5.71.0

Description:

Filters the visual presets offered in the headless branding settings.

File: src-plus/Headless/Site/Branding.php:119

Signature:

apply_filters( 'immomakler_headless_presets', $presets )

Parameters:

  • $presets (array<string,string>) Preset slug => label.

Type: Filter

Since: 5.71.0

Description:

Filters a property document of the headless API.

File: src-plus/Headless/Serialization/Property_Serializer.php:158

Signature:

apply_filters( 'immomakler_headless_property', $document, $post_id, $context->mode )

Parameters:

  • $document (array<string,mixed>) The document.
  • $post_id (int) The property post ID.
  • $mode (string) summary or full.

Type: Filter

Since: 5.71.0

Description:

Filters a webhook payload before it is signed and sent.

File: src-plus/Headless/Webhook/Webhook_Dispatcher.php:228

Signature:

apply_filters( 'immomakler_headless_webhook_payload', $payload, $event )

Parameters:

  • $payload (array<string,mixed>) The payload.
  • $event (string) The event name.

Type: Filter

File: classes/class-immomakler-hrsds.php:170

Signature:

apply_filters('immomakler_hrsds_import_max_api_pages', 1)

Type: Filter

File: classes/class-immomakler-immowelt.php:179

Signature:

apply_filters( 'immomakler_immowelt_import_max_api_pages', 100 )

Type: Filter

File: classes/class-immomakler-is24.php:270

Signature:

apply_filters( 'immomakler_is24_import_max_api_pages', 4 )

Type: Filter

File: src/Importers/ImmoScout24/Account_Limit.php:52

Signature:

apply_filters( 'immomakler_is24_max_accounts', $limit )

Type: Filter

File: classes/class-immomakler-is24.php:819

Signature:

apply_filters( 'immomakler_is24_max_property_import_count', 1000 )

Type: Filter

File: classes/class-immomakler-is24.php:283

Signature:

apply_filters( 'immomakler_is24_request_channel_is24_only', false )

Type: Filter

File: classes/class-immomakler-is24.php:807

Signature:

apply_filters( 'immomakler_is24_skip_realestateelement', false, $property, $list_object, $key )

Type: Filter

Since: 5.68

Description:

Filters the image sizes offered for JustImmo project images.

File: src/Importers/Justimmo/Settings.php:220

Signature:

apply_filters( 'immomakler_justimmo_picture_sizes', $sizes )

Type: Filter

File: classes/class-immomakler-kyero-generator.php:265

Signature:

apply_filters( 'immomakler_kyero_compatible_image_types', [ 'image/jpeg', 'image/png', 'image/gif' ] )

Type: Filter

File: classes/class-immomakler-kyero-generator.php:159

Signature:

apply_filters( 'immomakler_kyero_generator_feeds', $feeds )

Type: Filter

Since: 5.69.0

Description:

Filters the onOffice estate fields the connector requests.

Installations can rename or disable fields, and requesting one that does not exist is answered with an error for the whole action rather than a missing value.

File: src/Importers/Onoffice/Estate_Fields.php:341

Signature:

apply_filters( 'immomakler_onoffice_estate_fields', $fields )

Parameters:

  • $fields (string[]) The field names.

Type: Filter

File: src/Importers/Onoffice/Estate_Filter.php:64

Signature:

apply_filters( 'immomakler_onoffice_full_filter', $filter, $account )

Type: Filter

Since: 5.69.0

Description:

Filters whether the contact person’s portrait is imported.

The portrait travels as a URL inside the generated property, and the importer decides whether to touch a property by hashing that markup. Should an installation hand out a portrait URL that differs from one request to the next, every reference would be re-imported on every run; switching the portrait off stops that.

File: src/Onoffice/Api/User_Directory.php:259

Signature:

apply_filters( 'immomakler_onoffice_import_user_photo', true, $user_id )

Parameters:

  • $import (bool) Whether to read the portrait.
  • $user_id (string) The onOffice user ID.

Type: Filter

Since: 5.69.0

Description:

Filters the OpenImmo objektart an onOffice objektart maps to.

Installations may define their own values, and the plugin only knows the standard ones.

File: src/Importers/Onoffice/Estate_Types.php:96

Signature:

apply_filters( 'immomakler_onoffice_property_type', $type, $objektart )

Parameters:

  • $type (string) The resolved OpenImmo objektart element name.
  • $objektart (string) The raw onOffice value.

Type: Filter

Since: 5.69.0

Description:

Filters the contact person written onto imported onOffice references.

File: src/Importers/Onoffice/Estate_Importer.php:258

Signature:

apply_filters( 'immomakler_onoffice_reference_contact', new Contact_Record( last_name: '' !== $name ? $name : $email, company: $name, email: $email ), $this->account )

Parameters:

  • $contact (Contact_Record) The contact person.
  • $account (Account) The account being imported.

Type: Filter

Since: 5.69.0

Description:

Filters one of the onOffice estate filters used for the reference import.

Applied to each alternative the criterion consists of; the references are the estates matching any one of them.

File: src/Importers/Onoffice/Estate_Filter.php:113

Signature:

apply_filters( 'immomakler_onoffice_reference_filter', $published + $filter, $account )

Parameters:

  • $filter (array) The filter criteria.
  • $account (Account) The account being imported.

Type: Filter

Since: 5.69.0

Description:

Filters whether raw onOffice responses are written to disk.

Off by default: the bodies are the customer’s own data and the files land in the import directory. Switch it on to look at what the API returned, and delete the directory afterwards.

File: src/Onoffice/Api/Response_Archive.php:67

Signature:

apply_filters( 'immomakler_onoffice_store_responses', false, $resource_type )

Parameters:

  • $store (bool) Whether to write the body to a file.
  • $resource_type (string) The resource type the body came from.

Type: Filter

File: src/Webflow/API.php:781

Signature:

apply_filters( 'immomakler_webflow_boolean_post_meta_keys', [] )

Type: Filter

File: src/Webflow/API.php:869

Signature:

apply_filters( 'immomakler_webflow_field_data', $fields, $property_post->ID )

Type: Filter

File: src/Webflow/API.php:779

Signature:

apply_filters( 'immomakler_webflow_field_matches', [] )

Additional usage locations:

  • src/Webflow/Webflow_Controller.php:393

    apply_filters( 'immomakler_webflow_field_matches', [] )

Type: Filter

File: src/Webflow/API.php:347

Signature:

apply_filters( 'immomakler_webflow_property_slug', $property_post->post_name, $post_id )

Type: Filter

File: src/Webflow/API.php:780

Signature:

apply_filters( 'immomakler_webflow_raw_post_meta_keys', $default_raw_post_meta_keys )