Aller au contenu

Hooks : SEO

immomakler_meta_keys_copy_custom_yoast_on_property_update

Section intitulée « immomakler_meta_keys_copy_custom_yoast_on_property_update »

Type : Filter

Fichier : classes/class-immomakler.php:4905

Signature :

apply_filters( 'immomakler_meta_keys_copy_custom_yoast_on_property_update', true )

Type : Filter

Fichier : classes/class-immomakler.php:4903

Signature :

apply_filters( 'immomakler_meta_keys_to_copy_on_property_update', [] )

Type : Filter

Depuis la version : 5.71.0

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

Filters whether WP-ImmoMakler prints the OpenGraph tags of property lists.

Fichier : src/Frontend/Html_Meta/Open_Graph.php:381

Signature :

apply_filters( 'immomakler_opengraph_archive_tags', ! self::seo_plugin_writes_opengraph() )

Paramètres :

  • $print (bool) True when no SEO plugin known to write OpenGraph tags is active.

Type : Filter

Fichier : src/Frontend/Html_Meta/Open_Graph.php:520

Signature :

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

Type : Filter

Fichier : src/Frontend/Html_Meta/Open_Graph.php:519

Signature :

apply_filters( 'immomakler_opengraph_image_size', Image_Sizes::GALLERY_XL )

Type : Filter

Depuis la version : 5.69.0

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

Filters the robots.txt Disallow patterns WP-ImmoMakler adds.

Fichier : src/Frontend/Robots_Txt.php:105

Signature :

apply_filters( 'immomakler_robots_txt_disallow', $paths )

Paramètres :

  • $paths (string[]) Path patterns, one Disallow: line each. Return an empty array to add none.

Type : Filter

Fichier : src-plus/Frontend/SchemaOrg.php:611

Signature :

apply_filters( 'immomakler_schema_accomodation', $single )

Type : Filter

Fichier : src-plus/Frontend/SchemaOrg.php:186

Signature :

apply_filters( 'immomakler_schema_aggregate_offer', $aggregate_offer, $query, $marketing_type )

Type : Filter

Fichier : src-plus/Frontend/SchemaOrg.php:691

Signature :

apply_filters( 'immomakler_schema_commercial_property', $single )

Type : Filter

Fichier : src-plus/Frontend/SchemaOrg.php:745

Signature :

apply_filters( 'immomakler_schema_event', $event, $title )

Type : Filter

Fichier : src-plus/Frontend/SchemaOrg.php:439

Signature :

apply_filters( 'immomakler_schema_item_list', $item_list, $query )

Type : Filter

Fichier : src-plus/Frontend/SchemaOrg.php:478

Signature :

apply_filters( 'immomakler_schema_product', apply_filters_deprecated( 'immomakler_schema_single', [ $single ], '5.38', 'immomakler_schema_product' ) )

Type : Filter

Fichier : src-plus/Frontend/SchemaOrg.php:858

Signature :

apply_filters( 'immomakler_schema_video_object', $video_object, $video_url )

Type : Filter

Depuis la version : 5.69.0

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

Filters whether the reference archive is kept out of the status taxonomy’s noindex.

Fichier : src/Frontend/Html_Meta/Reference_Archive.php:54

Signature :

apply_filters( 'immomakler_seo_index_reference_archive', ! self::term_has_own_robots() )

Paramètres :

  • $is_indexable (bool) Whether the archive stays indexable.

Type : Filter

Depuis la version : 5.69.0

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

Filters whether a property counts as a reference for its SEO texts.

Fichier : src/Frontend/Seo_Meta/Meta_Text_Settings.php:185

Signature :

apply_filters( 'immomakler_seo_is_reference', $is_reference, $openimmo_data )

Paramètres :

  • $is_reference (bool) Whether the property is a reference.

Type : Filter

Depuis la version : 5.69.0

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

Filters how many features are listed in the generated SEO meta description.

Fichier : src/Frontend/Seo_Meta/Meta_Text_Builder.php:201

Signature :

apply_filters( 'immomakler_seo_metadesc_feature_count', 3, $openimmo_data )

Paramètres :

  • $count (int) Number of features.

Type : Filter

Depuis la version : 5.69.0

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

Filters the character budget of the generated SEO meta description.

Fichier : src/Frontend/Seo_Meta/Meta_Text_Settings.php:137

Signature :

apply_filters( 'immomakler_seo_metadesc_max_length', $description_max_length, $openimmo_data )

Paramètres :

  • $description_max_length (int) Maximum number of characters.

Type : Filter

Depuis la version : 5.69.0

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

Filters the template used for the generated SEO meta description.

Fichier : src/Frontend/Seo_Meta/Meta_Text_Settings.php:110

Signature :

apply_filters( 'immomakler_seo_metadesc_template', $description_template, $openimmo_data )

Paramètres :

  • $description_template (string) The template, with {token} placeholders.

Type : Filter

Fichier : src/Frontend/SEO.php:438

Signature :

apply_filters( 'immomakler_seo_permalinks', false )

Type : Filter

Fichier : src/Frontend/Html_Meta/Rank_Math.php:155

Signature :

apply_filters( 'immomakler_seo_remove_property_dates', true )

Autres utilisations :

  • src/Frontend/Html_Meta/Rank_Math.php:187

    apply_filters( 'immomakler_seo_remove_property_dates', true )
  • src/Frontend/Html_Meta/Yoast_Seo.php:64

    apply_filters( 'immomakler_seo_remove_property_dates', true )

Type : Filter

Depuis la version : 5.4

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

Filters whether the price is shown in the generated SEO texts.

Fichier : src/Frontend/Seo_Meta/Meta_Text_Settings.php:227

Signature :

apply_filters( 'immomakler_seo_show_price_title_desc', $show_price, $openimmo_data )

Paramètres :

  • $show_price (bool) Whether to show the price.

Type : Filter

Depuis la version : 5.69.0

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

Filters the character budget of the generated SEO title. The budget covers the WP-ImmoMakler part only; Yoast SEO and Rank Math append their separator and site name to it.

Fichier : src/Frontend/Seo_Meta/Meta_Text_Settings.php:125

Signature :

apply_filters( 'immomakler_seo_title_max_length', $title_max_length, $openimmo_data )

Paramètres :

  • $title_max_length (int) Maximum number of characters.

Type : Filter

Depuis la version : 5.69.0

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

Filters the template used for the generated SEO title.

Fichier : src/Frontend/Seo_Meta/Meta_Text_Settings.php:100

Signature :

apply_filters( 'immomakler_seo_title_template', $title_template, $openimmo_data )

Paramètres :

  • $title_template (string) The template, with {token} placeholders.