Can I simulate a user being logged in from a WP_UnitTestCase?
-
04-11-2019 - |
سؤال
I have some logic in my code that's based on whether or not the user is logged in. How do I test it from my WP_UnitTestCase?
لا يوجد حل صحيح
لا تنتمي إلى wordpress.stackexchange