Skip to content Skip to sidebar

Tagged: 

This topic contains 0 reply, has 1 voice.

Last updated by henkt-2 1 year, 3 months ago.

Assisted by: Lauren.

Author Posts
October 3, 2024 at 3:08 pm #16250937

henkt-2

Background of the issue:
I am trying to select a certain form based on the language using a PHP script in the functions.php file of my WordPress site hidden link. I included a script that uses WPML to get the current language and map form IDs for Dutch (NL) and English (EN). The script registers a shortcode to dynamically select the form based on the language.

Symptoms:
The PHP script is not working to select a certain form.

Questions:
Why is the PHP script not selecting the correct form based on the language?

The topic ‘[Closed] PHP script not working to select a certain form’ is closed to new replies.