Factory.php
2 weeks ago
JobHooks.php
2 weeks ago
class-wcml-yikes-custom-product-tabs.php
2 weeks ago
Factory.php
18 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WCML\Compatibility\YikesCustomProductTabs; |
| 4 | |
| 5 | use WCML\Compatibility\ComponentFactory; |
| 6 | use function WCML\functions\getSitePress; |
| 7 | use function WCML\functions\getWooCommerceWpml; |
| 8 | |
| 9 | class Factory extends ComponentFactory { |
| 10 | |
| 11 | public function create() { |
| 12 | return [ |
| 13 | new \WCML_YIKES_Custom_Product_Tabs( getSitePress(), self::getElementTranslationPackage() ), |
| 14 | new JobHooks(), |
| 15 | ]; |
| 16 | } |
| 17 | } |
| 18 |