Created
October 3, 2022 21:27
-
-
Save ahmedch1/49a35536acd98f202b7045b8b082b3fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In Style style.css add | |
Text Domain: ahmedsite | |
ahmedsite : the name of the theme | |
In functions.php | |
add_action('init', function() { | |
pll_register_string('ahmedsite', 'We are Testing Here'); | |
}); | |
Where to call the string | |
<?php pll_e('We are Testing Here');?> | |
It will be shown in the backend after that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment