WPML custom PHP string registration and translation


min read

My profile

Share this:

[code:1:6671024264]add_action( ‘admin_head’, ‘mp_admin_head’ );

function mp_admin_head() {
if (function_exists ( ‘icl_register_string’ )){
icl_register_string(’mp_nautic’, ‘Navbar: ik zoek werk’, ‘Ik zoek werk’);
icl_register_string(’mp_nautic’, ‘Navbar: zoeken knop’, ‘Zoeken’);

Show it:
[code:1:6671024264]icl_t(’mp_nautic’, ‘Navbar: ik zoek werk’, ‘Ik zoek werk’)
icl_t(’mp_nautic’, ‘Navbar: zoeken knop’, ‘Zoeken’)[/code:1:6671024264]

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *