Where can I find documentation for the WP_UnitTestCase factory classes?
-
07-11-2019 - |
سؤال
In recent versions WP_UnitTestCase
has included a $factory
property.
For example:
$post = $this->factory->post->create();
Where can I find documentation on this useful feature?
لا يوجد حل صحيح
لا تنتمي إلى wordpress.stackexchange