How can I turn on SHORTINIT via functions.php

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 admin-ajax and admin dashboard?

0
Rajin Sharwar 2 weeks 2022-11-14T01:32:28-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse