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:
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.
-
Slim SEO70,000+ installs
do_action( 'wpml_multilingual_options', 'slim_seo' )src/Integrations/WPML.php:26 -
AJAX Login and Registration modal popup + inline form3,000+ installs
do_action( 'wpml_multilingual_options', 'lrm_messages' )includes/class-settings.php:1484 -
Clerk300+ installs
do_action( 'wpml_multilingual_options', 'clerk_options' )includes/class-clerk-admin-settings.php:49 -
StranoWeb Ajax Login100+ installs
do_action( 'wpml_multilingual_options', 'swal_menu_item_custom_text' )includes/functions/wpml-integration.php:22 -
QRcdr20+ installs
do_action( 'wpml_multilingual_options', $this->options_name )includes/class-qrcdrsettings.php:660 -
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.