WordPress filter hook
wpml_post_language_details
Fired by 337 WordPress plugins, running on 11.3M+ sites between them.
“Use WPML filter to get product language details”
How to use wpml_post_language_details
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wpml_post_language_details', function( $value, $post_id ) {
// Change $value here.
return $value;
}, 10, 2 );Argument names come from Rank Math SEO's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
337 plugins that fire wpml_post_language_details
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes. Showing the 150 most used.
-
Rank Math SEO4+ million installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/helpers/class-sitepress.php:203 -
ElementsKit Elementor Addons1+ million installs
apply_filters( 'wpml_post_language_details', NULL, get_the_ID() )modules/controls/widget-area-utils.php:93 -
WP Fastest Cache1+ million installs
apply_filters( 'wpml_post_language_details', NULL, $post_id )inc/preload.php:6 -
Google for WooCommerce800,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/Integration/WPML.php:110 -
Meta for WooCommerce400,000+ installs
apply_filters( 'wpml_post_language_details', null, $product_id )includes/Integrations/WPML.php:138 -
HappyAddons for Elementor400,000+ installs
apply_filters( 'wpml_post_language_details', null, $template['ID'] )classes/theme-builder.php:814 -
ShortPixel Image Optimizer300,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )class/Controller/Optimizer/OptimizeAiController.php:589 -
SEOPress300,000+ installs
apply_filters( 'wpml_post_language_details', null, $elid )inc/functions/options-social.php:245 -
Photo Gallery, Sliders, Proofing and Themes300,000+ installs
apply_filters( 'wpml_post_language_details', null, $displayed_gallery->ID )src/Display/I18N.php:259 -
SureRank SEO300,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )inc/third-party-integrations/multilingual/providers/wpml.php:146 -
Cyr-To-Lat300,000+ installs
apply_filters( 'wpml_post_language_details', false, $this->post->ID )src/php/BackgroundProcesses/PostConversionProcess.php:247 -
Newsletter200,000+ installs
apply_filters( 'wpml_post_language_details', [], $post->ID )includes/composer.php:519 -
Popup Builder200,000+ installs
apply_filters( 'wpml_post_language_details', null, $postId )com/classes/PopupChecker.php:670 -
Post Duplicator200,000+ installs
apply_filters( 'wpml_post_language_details', null, $original_id )includes/hooks.php:62 -
WPML Multilingual & Multicurrency for WooCommerce100,000+ installs
apply_filters( 'wpml_post_language_details', [], $request->get_param( 'id' ) )classes/Rest/Language/Set.php:70 -
Relevanssi100,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )lib/compatibility/wpml.php:125 -
Independent Analytics100,000+ installs
apply_filters( 'wpml_post_language_details', null, $this->singular_id )IAWP/Models/Page_Singular.php:125 -
Advanced Custom Fields: Extended100,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $post_id )includes/multilang.php:727 -
Schema & Structured Data for WP & AMP100,000+ installs
apply_filters( 'wpml_post_language_details', NULL )output/output.php:4694 -
AI Engine90,000+ installs
apply_filters( 'wpml_post_language_details', null, $postId )classes/core.php:552 -
Customer Reviews for WooCommerce80,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $comment->comment_post_ID )includes/qna/class-cr-qna.php:931 -
Ajax Search Lite70,000+ installs
apply_filters( 'wpml_post_language_details', null, $r->id )src/server/Search/SearchPostTypes.php:1504 -
Advanced Woo Search60,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $this->id )includes/class-aws-table-data.php:382 -
10Web Booster60,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/OptimizerUtils.php:1820 -
Export All URLs50,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )classes/class-multilingual.php:117 -
WP Recipe Maker50,000+ installs
apply_filters( 'wpml_post_language_details', false, $post_id )includes/public/class-wprm-compatibility.php:661 -
FunnelKit30,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )compatibilities/class-wffn-wpml-plugin-compatibility.php:297 -
BetterDocs30,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/Admin/WPMLSupport.php:51 -
CrawlWP SEO30,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/SEOCore/AI/Generator.php:609 -
Master Addons for Elementor30,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $template['ID'] )inc/admin/theme-builder/inc/jltma-activator.php:422 -
Visual Composer Website Builder30,000+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )visualcomposer/Modules/Vendors/Plugins/WpmlController.php:493 -
MapPress30,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $postid )mappress_wpml.php:51 -
Product Addons for Woocommerce30,000+ installs
apply_filters( 'wpml_post_language_details', null, $postId )includes/compatibility/ml.php:376 -
YITH WooCommerce Ajax Search30,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/functions-yith-wcas.php:283 -
Booster for WooCommerce30,000+ installs
apply_filters( 'wpml_post_language_details', null, $object_id )includes/class-wcj-wpml.php:107 -
Alt Text AI20,000+ installs
apply_filters( 'wpml_post_language_details', null, $attachment_id )includes/class-atai-attachment.php:1215 -
NextScripts: Social Networks Auto-Poster20,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $post->ID )inc/nxs_class_flt.php:942 -
ThinkRank SEO20,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/ai/class-language-resolver.php:114 -
Revive Social20,000+ installs
apply_filters( 'wpml_post_language_details', '', $post_id )includes/admin/class-rop-admin.php:1743 -
FunnelKit Automations20,000+ installs
apply_filters( 'wpml_post_language_details', null, $order->get_id() )includes/class-bwfan-common.php:13667 -
Echo Knowledge Base10,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $post_id )includes/admin/wizard/class-epkb-kb-wizard-global.php:29 -
Eventin10,000+ installs
apply_filters( 'wpml_post_language_details', null, (int) $post_id )core/wpml/init.php:91 -
Custom Product Tabs for WooCommerce & WordPress Tabs Builder10,000+ installs
apply_filters( 'wpml_post_language_details', null, $product_id )src/Modules/ProductTabs/Frontend/DeprecatedTabGroup.php:98 -
WP Booking System10,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_obj->ID )includes/base/admin/calendar/functions.php:195 -
Hide Shipping Method For WooCommerce10,000+ installs
apply_filters( 'wpml_post_language_details', null, $sm_post_id )admin/class-woo-hide-shipping-methods-admin.php:1089 -
SmartCrawl SEO checker, analyzer & optimizer10,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/core/entities/class-post.php:943 -
Related Posts for WordPress10,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/Words/Language.php:154 -
MasterStudy LMS WordPress Plugin10,000+ installs
apply_filters( 'wpml_post_language_details', null, $course_id )_core/lms/classes/course.php:111 -
WF Cookie Consent10,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )wf-cookie-consent.php:588 -
Noptin10,000+ installs
apply_filters( 'wpml_post_language_details', '', $post_id )build/Integrations/WPML/Main.php:128 -
BA Book Everything10,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/class-babe-functions.php:489 -
Freesoul Deactivate Plugins8,000+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )admin/templates/partials/eos-dp-action-buttons.php:23 -
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce8,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )inc/MultiLang/class-merchant-wpml-support.php:271 -
VikBooking Hotel Booking Engine & PMS7,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )libraries/adapter/application/route.php:200 -
Extra Fees for WooCommerce7,000+ installs
apply_filters( 'wpml_post_language_details', null, $fees_id )public/class-woocommerce-conditional-product-fees-for-checkout-public.php:435 -
SellKit7,000+ installs
apply_filters( 'wpml_post_language_details', null, $previous_page_id )includes/funnel/steps/thankyou.php:152 -
Themify Builder6,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/plugin-compat/wpml-translation.php:178 -
ActivityPub6,000+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )integration/class-wpml.php:49 -
Swift Performance Lite6,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $maybe_id )modules/cache/cache.php:1341 -
Sokol: Smart WooCommerce Search5,000+ installs
apply_filters( 'wpml_post_language_details', '', $post_id )inc/core/db-index.php:662 -
WPBot5,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/wpbot-core/src/Knowledge/Kb_Sources.php:477 -
Flat Rate Shipping Method for WooCommerce5,000+ installs
apply_filters( 'wpml_post_language_details', null, $sm_post_id )admin/partials/afrsm-init-shipping-methods.php:748 -
VikRentCar Car Rental Management System4,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )libraries/adapter/application/route.php:200 -
WPSSO Core4,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )lib/integ/lang/wpml.php:393 -
YMC Filter4,000+ installs
apply_filters( 'wpml_post_language_details', null, $used_post_id )ymc2/src/admin/meta-boxes/usage.php:81 -
Minimum and Maximum Quantity for WooCommerce3,000+ installs
apply_filters( 'wpml_post_language_details', null, $sm_post_id )admin/class-min-max-quantity-for-woocommerce-admin.php:2282 -
Powered Cache3,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/compat/plugins/wpml.php:137 -
YITH WooCommerce Product Bundles3,000+ installs
apply_filters( 'wpml_post_language_details', null, $translated_product_id )includes/compatibility/class.yith-wcpb-wpml-compatibility.php:66 -
TrustMate.io3,000+ installs
apply_filters( 'wpml_post_language_details', null, $order_id )trustmate-plugin.php:452 -
Bulk Page Generator3,000+ installs
apply_filters( 'wpml_post_language_details', null, $translation->element_id )src/multilingual/WpmlAdapter.php:179 -
CodePeople Post Map for Google Maps3,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $_post )include/functions.php:1366 -
Alt Magic: AI Image Alt Text Generator for WP & Image Rename2,000+ installs
apply_filters( 'wpml_post_language_details', null, (int)$post_id )common-functions/altm-wpml.php:219 -
Notifima2,000+ installs
apply_filters( 'wpml_post_language_details', null, $product->get_id() )classes/Emails/ProductBackInStockEmail.php:79 -
LinkBoss2,000+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )includes/Classes/class-sync-posts.php:926 -
SOOZ2,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/core/multilingual-plugins.php:76 -
Advanced Shipping Rates for WooCommerce: Flexible Table Rate Shipping Rules2,000+ installs
apply_filters( 'wpml_post_language_details', array(), $this->get_real_id($product) )fish-and-ships.php:1008 -
Editoria11y Accessibility Checker1,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/functions.php:525 -
SEOKEY1,000+ installs
apply_filters( 'wpml_post_language_details', NULL, $item['id'] )admin/modules/audit/tasks/content_main_keyword_content.php:85 -
Listdom: AI-powered Business Directory with Classifieds Ads Listings1,000+ installs
apply_filters( 'wpml_post_language_details', null, $new_post_id )app/includes/ptypes/listing.php:452 -
AI Summaries & Share Buttons1,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/functions-helpers.php:2897 -
LovedByAI1,000+ installs
apply_filters( 'wpml_post_language_details', null, $id )includes/discovery-posts-service.php:441 -
Agent Abilities for MCP1,000+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/wpml.php:181 -
Manago AI & Leadoo AI900+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/Includes/Integrations/Wpml/WpmlLanguageContext.php:83 -
Faire for WooCommerce800+ installs
apply_filters( 'wpml_post_language_details', null, $id )src/wpml/class-wpml-product.php:117 -
SEO Booster800+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )inc/LLM_Helper.php:65 -
VikRentItems Flexible Rental Management System600+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )libraries/adapter/application/route.php:200 -
RankReady600+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/class-rnrd-llm.php:1696 -
BjornTech PayPal POS integration for WooCommerce600+ installs
apply_filters( 'wpml_post_language_details', $wpml_default_language, $product_id )includes/admin/izettle-integration-helper.php:1150 -
VikRestaurants Table Reservations and Take-Away500+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )libraries/adapter/application/route.php:200 -
VikAppointments Services Booking Calendar500+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )libraries/adapter/application/route.php:200 -
AI Product Tools for WooCommerce500+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/Api/ContentStructure/Engine/LanguageResolver.php:151 -
Lana Sitemap400+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )includes/class-lana-sitemap.php:1211 -
Robots & Sitemap400+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )core/class-wpml.php:93 -
Mescio for Agents400+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )includes/class-multilingual.php:66 -
Clerk300+ installs
apply_filters( 'wpml_post_language_details', null, $product->get_id() )includes/class-clerk-realtime-updates.php:713 -
immonex Kickstart300+ installs
apply_filters( 'wpml_post_language_details', '', $element_id )includes/class-wpml-compat.php:114 -
Web Directory plugin Free300+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )core/src/I18n/LocalizedSettings.php:316 -
DELUCKS SEO300+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )helper/functions.php:503 -
Odyssey LLMS300+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/Core/Language.php:394 -
AI Alt Text Generator for SEO & Accessibility200+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )app/Domain/AltText/BaseGenerateService.php:217 -
Revi.io200+ installs
apply_filters( 'wpml_post_language_details', null, $idProduct )classes/reviProductsModel.php:100 -
PiwigoPress200+ installs
apply_filters( 'wpml_post_language_details', NULL, get_the_ID() )piwigopress.php:162 -
French Typo200+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )french-typo.php:848 -
Search, Filters & Merchandising for WooCommerce200+ installs
apply_filters( 'wpml_post_language_details', NULL, $post_id )public/wcis_plugin.php:1609 -
Text to Speech200+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/class-mementor-tts-i18n-helper.php:226 -
ImageComply200+ installs
apply_filters( 'wpml_post_language_details', NULL, $id )integrations/wpml.php:96 -
Filikod200+ installs
apply_filters( 'wpml_post_language_details', null, $attachment_id )includes/duplicates/class-filikod-duplicates.php:910 -
Lightweight Newscast XML Sitemap For Google News200+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )lightweight-newscast-xml-sitemap-for-google-news.php:544 -
NutsForPress Indexing and SEO100+ installs
apply_filters( 'wpml_post_language_details', NULL, $nfpndx_page->ID )public/includes/nfpndx-add-llms.php:112 -
AI Alt Text Generator for Images100+ installs
apply_filters( 'wpml_post_language_details', null, absint( $api_options['explicit_post_id'] ) )includes/class-alttextlab-attachment.php:185 -
ShortPixel AI Alt Text Generator100+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )class/Controller/Optimizer/OptimizeAiController.php:1292 -
Mailster WPML100+ installs
apply_filters( 'wpml_post_language_details', null, $campaign_id )classes/wpml.class.php:101 -
AI Chat App100+ installs
apply_filters( 'wpml_post_language_details', NULL, $post_id )includes/class-ephd-multilang-utilities.php:220 -
DiagnoSEO100+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )includes/seo-checker/class-diagnoseo-seocheckerservice.php:1256 -
Envo Blocks100+ installs
apply_filters( 'wpml_post_language_details', null, (int) $id )includes/class-envo-blocks-multilang.php:255 -
TranslateRocket100+ installs
apply_filters( 'wpml_post_language_details', null, (int) $id )src/Importers/BuilderTemplates.php:133 -
AI Image Alt Text Generator100+ installs
apply_filters( 'wpml_post_language_details', null, $attachment_id )src/Multilingual.php:232 -
Bracket Post Order100+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/class-bracket-po-compat-wpml.php:85 -
Answer Engine Optimization100+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )src/Support/Lang.php:45 -
AcrossAI Abilities Manager100+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/Abilities/Utilities/Multilang_Helpers.php:68 -
Easy Language100+ installs
apply_filters( 'wpml_post_language_details', null, $object->get_id() )app/Plugin/Helper.php:600 -
AI Chatbot & Semantic Search: ChatGPT Answers From Your Content100+ installs
apply_filters( 'wpml_post_language_details', null, $item['post_id'] )includes/summaries/class-wdgpt-summaries-table.php:754 -
Custom Permalinks for Custom Post Types100+ installs
apply_filters( 'wpml_post_language_details', NULL, $post->ID )custom-permalinks-for-custom-post-types.php:45 -
4Linking90+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/class-slug-helper.php:184 -
GEO Suite90+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/schema.php:1013 -
WriteText.ai80+ installs
apply_filters( 'wpml_post_language_details', null, $product_id )includes/class-wtai-api-services.php:8469 -
KAF AI80+ installs
apply_filters( 'wpml_post_language_details', null, intval($post_id) )includes/content.php:396 -
QH Markdown Exporter70+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )includes/class-export-v3-builder.php:604 -
PTAPS70+ installs
apply_filters( 'wpml_post_language_details', null, $wpPost->ID )classes/Compatibility/Wpml.php:364 -
Smartcat Translator for WPML60+ installs
apply_filters( 'wpml_post_language_details', null, $postId )includes/Services/Wpml.php:138 -
AISA60+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/functions.php:3152 -
Bulk SEO Importer (Lite)60+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )bulk-seo-importer.php:704 -
GatherContent Plugin60+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/classes/compatibility/wpml.php:159 -
BjornTech ready2order integration for WooCommerce50+ installs
apply_filters( 'wpml_post_language_details', $wpml_default_language, $product_id )includes/class-wr2o-helper.php:659 -
Globaliser50+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )app/services/wpml-service.php:37 -
Atomic Addons50+ installs
apply_filters( 'wpml_post_language_details', null, $template['ID'] )includes/builder/themes-hooks/activator.php:132 -
AutoLingo50+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/multilingual/class-wpml-adapter.php:78 -
Symmetria Smart Images40+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/SymmetriaSmartImages/SymmetriaSmartImages.php:148 -
Ajax Product Search for WooCommerce (ProSearch)40+ installs
apply_filters( 'wpml_post_language_details', NULL, $this->id )includes/class-mpsfw-index-data.php:365 -
GPSem.io40+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )multilingual.php:179 -
Search Support For WPML with Algolia40+ installs
apply_filters( 'wpml_post_language_details', NULL, $post->ID )search-wpml-algolia.php:25 -
Newsroom OS40+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/pro-ai-features.php:163 -
Posts 2 Posts Relationships30+ installs
apply_filters( 'wpml_post_language_details', NULL, $post_id )posts-2-posts-relationships.php:752 -
RankFlect SEO30+ installs
apply_filters( 'wpml_post_language_details', null, $post->ID )includes/Admin/MetaBox.php:181 -
JorgeCastro30+ installs
apply_filters( 'wpml_post_language_details', null, (int) $post_id )classes/I18n/Providers/WPML.php:76 -
SiteAssure30+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )includes/class-siteassure-utils.php:1026 -
Mephivio Robots LLMs30+ installs
apply_filters( 'wpml_post_language_details', null, $post_id )core/class-config.php:213 -
ByteCoreStack20+ installs
apply_filters( 'wpml_post_language_details', null, $wtp_pid )includes/MCP/Server.php:5415 -
NutsForPress Restricted Contents20+ installs
apply_filters( 'wpml_post_language_details', null, $nfprct_involved_post_id )public/includes/nfprct-check-restriction.php:63 -
SScribe Export Site Pages20+ installs
apply_filters( 'wpml_post_language_details', null, $page_id )includes/class-sscribe-page-collector.php:1375
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.