Question
I want to turn on the SHORTINIT constant in my WordPress site to speed up my admin-ajax. The problem is I know I can define it to be true in wp-config, but I am wanting to do it via the functions.php. How can I do that? Also, any suggestions or code I can use in functions.php to speed up my a
0
Rajin Sharwar 3 months 0 Answers 0 views

Question
I was wondering if there was a simple way to prevent direct access to asset files within a WordPress plugin. Primarily javascript files. I'm developing a plugin that's meant to be used only in the admin dashboard, and I would like the javascript f
0
Dan 7 months 0 Answers 0 views