WordPress action hook

wpml_multilingual_options

Fired by 6 WordPress plugins, running on 73K+ sites between them.

How to use wpml_multilingual_options

It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'wpml_multilingual_options', function( $options_name ) {
	// Your code runs here.
}, 10, 1 );

Argument names come from QRcdr's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

6 plugins that fire wpml_multilingual_options

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Slim SEO icon Slim SEO70,000+ installs do_action( 'wpml_multilingual_options', 'slim_seo' ) src/Integrations/WPML.php:26
  2. AJAX Login and Registration modal popup + inline form icon AJAX Login and Registration modal popup + inline form3,000+ installs do_action( 'wpml_multilingual_options', 'lrm_messages' ) includes/class-settings.php:1484
  3. Clerk icon Clerk300+ installs do_action( 'wpml_multilingual_options', 'clerk_options' ) includes/class-clerk-admin-settings.php:49
  4. StranoWeb Ajax Login icon StranoWeb Ajax Login100+ installs do_action( 'wpml_multilingual_options', 'swal_menu_item_custom_text' ) includes/functions/wpml-integration.php:22
  5. QRcdr icon QRcdr20+ installs do_action( 'wpml_multilingual_options', $this->options_name ) includes/class-qrcdrsettings.php:660
  6. Login, Logout and Registration Redirects manager icon Login, Logout and Registration Redirects managerFewer than 10 installs do_action( 'wpml_multilingual_options', 'lrr_messages' ) includes/class-settings.php:356

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.