A class to copy into your WordPress plugin, to allow loading template parts with fallback through the child theme > parent theme > plugin.
WordPress plugin boilerplate: PSR-4, PHP 8.4+, wp-env integration tests, PHPCS (WPCS/VIPCS/PHPCompatibility), Infection mutation testing, Rector.