embedpress_analytics is not defined
-
Hello Team,
I noticed an issue in the latest version of the plugin. The endpoint seems mismatched, and the global variable
embedpress_analyticsis not defined.In the JS file, the code currently shows:
restUrl: embedpress_analytics?.rest_url || '/wp-json/embedpress/v1/analytics/',However, this causes errors since
embedpress_analyticsis not defined. The correct approach would be to defineembedpress_analyticsfirst and then export it to JS.Could you please review and fix this?
Thanks!
please check and update it
thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘embedpress_analytics is not defined’ is closed to new replies.