Aller au contenu

Hooks : Interfaces

Type : Filter

Fichier : src/Mail/Casamail.php:253

Signature :

apply_filters( 'immomakler_casamail_property_reference_key', 'objektnr_extern' )

Type : Filter

Depuis la version : 5.71.0

Description (tirée du code source, en anglais) :

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

Fichier : src-plus/Headless/Url/Frontend_Url_Mapper.php:310

Signature :

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

Paramètres :

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

Depuis la version : 5.71.0

Description (tirée du code source, en anglais) :

Filters the visual presets offered in the headless branding settings.

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

Signature :

apply_filters( 'immomakler_headless_presets', $presets )

Paramètres :

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

Type : Filter

Depuis la version : 5.71.0

Description (tirée du code source, en anglais) :

Filters a property document of the headless API.

Fichier : src-plus/Headless/Serialization/Property_Serializer.php:157

Signature :

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

Paramètres :

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

Type : Filter

Depuis la version : 5.71.0

Description (tirée du code source, en anglais) :

Filters a webhook payload before it is signed and sent.

Fichier : src-plus/Headless/Webhook/Webhook_Dispatcher.php:225

Signature :

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

Paramètres :

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

Type : Filter

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

Signature :

apply_filters('immomakler_hrsds_import_max_api_pages', 1)

Type : Filter

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

Signature :

apply_filters( 'immomakler_immowelt_import_max_api_pages', 100 )

Type : Filter

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

Signature :

apply_filters( 'immomakler_is24_import_max_api_pages', 4 )

Type : Filter

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

Signature :

apply_filters( 'immomakler_is24_max_accounts', $limit )

Type : Filter

Fichier : classes/class-immomakler-is24.php:828

Signature :

apply_filters( 'immomakler_is24_max_property_import_count', 1000 )

Type : Filter

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

Signature :

apply_filters( 'immomakler_is24_request_channel_is24_only', false )

Type : Filter

Fichier : classes/class-immomakler-is24.php:816

Signature :

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

Type : Filter

Depuis la version : 5.68

Description (tirée du code source, en anglais) :

Filters the image sizes offered for JustImmo project images.

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

Signature :

apply_filters( 'immomakler_justimmo_picture_sizes', $sizes )

Type : Filter

Fichier : classes/class-immomakler-kyero-generator.php:245

Signature :

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

Type : Filter

Fichier : classes/class-immomakler-kyero-generator.php:139

Signature :

apply_filters( 'immomakler_kyero_generator_feeds', $feeds )

Type : Filter

Depuis la version : 5.69.0

Description (tirée du code source, en anglais) :

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.

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

Signature :

apply_filters( 'immomakler_onoffice_estate_fields', $fields )

Paramètres :

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

Type : Filter

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

Signature :

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

Type : Filter

Depuis la version : 5.69.0

Description (tirée du code source, en anglais) :

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.

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

Signature :

apply_filters( 'immomakler_onoffice_import_user_photo', true, $user_id )

Paramètres :

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

Type : Filter

Depuis la version : 5.69.0

Description (tirée du code source, en anglais) :

Filters the OpenImmo objektart an onOffice objektart maps to. Installations may define their own values, and the plugin only knows the standard ones.

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

Signature :

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

Paramètres :

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

Type : Filter

Depuis la version : 5.69.0

Description (tirée du code source, en anglais) :

Filters the contact person written onto imported onOffice references.

Fichier : 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 )

Paramètres :

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

Type : Filter

Depuis la version : 5.69.0

Description (tirée du code source, en anglais) :

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.

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

Signature :

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

Paramètres :

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

Type : Filter

Depuis la version : 5.69.0

Description (tirée du code source, en anglais) :

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.

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

Signature :

apply_filters( 'immomakler_onoffice_store_responses', false, $resource_type )

Paramètres :

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

Type : Filter

Fichier : src/Webflow/API.php:789

Signature :

apply_filters( 'immomakler_webflow_boolean_post_meta_keys', [] )

Type : Filter

Fichier : src/Webflow/API.php:937

Signature :

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

Type : Filter

Fichier : src/Webflow/API.php:787

Signature :

apply_filters( 'immomakler_webflow_field_matches', [] )

Autres utilisations :

  • src/Webflow/Webflow_Controller.php:416

    apply_filters( 'immomakler_webflow_field_matches', [] )

Type : Filter

Fichier : src/Webflow/API.php:347

Signature :

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

Type : Filter

Fichier : src/Webflow/API.php:788

Signature :

apply_filters( 'immomakler_webflow_raw_post_meta_keys', $default_raw_post_meta_keys )