Insert PHP Snippet plugin doesn’t know WP functions?

Question

Trying to execute some simple PHP using this plugin. But when I call wp_get_current_user I get an error. Do I need to load WP functions somehow first?

0
Skeptic 4 months 2022-04-06T19:44:42-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse