_e() in ajax script doesn't translate text
-
I am working in
/themes/my-template/index.phpinside index.php I’m using ajax script from file
/themes/my-template/ajax/my-ajax-script.phpThe problem is, that _e() translation is working everywhere BUT not in my-ajax-script.php
Inside my-ajax-script.php i have added at the top:
include_once(‘../../../../wp-blog-header.php’);Still doesn’t work. Thanks for help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘_e() in ajax script doesn't translate text’ is closed to new replies.