| 1 |
<?php |
| 2 |
/* |
| 3 |
* License: GPLv3 |
| 4 |
* License URI: https://www.gnu.org/licenses/gpl.txt |
| 5 |
* Copyright 2012-2026 Jean-Sebastien Morisset (https://wpsso.com/) |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
|
| 10 |
die( 'These aren\'t the droids you\'re looking for.' ); |
| 11 |
} |
| 12 |
|
| 13 |
if ( ! defined( 'WPSSO_PLUGINDIR' ) ) { |
| 14 |
|
| 15 |
die( 'Do. Or do not. There is no try.' ); |
| 16 |
} |
| 17 |
|
| 18 |
if ( ! class_exists( 'WpssoIntegEcomAbstractWooCommerceBrands' ) ) { |
| 19 |
|
| 20 |
require_once WPSSO_PLUGINDIR . 'lib/integ/ecom/abstract/woocommerce-brands.php'; |
| 21 |
} |
| 22 |
|
| 23 |
if ( ! class_exists( 'WpssoIntegEcomWooCommerceBrands' ) ) { |
| 24 |
|
| 25 |
class WpssoIntegEcomWooCommerceBrands extends WpssoIntegEcomAbstractWooCommerceBrands { |
| 26 |
|
| 27 |
protected $brand_tax_slug = 'product_brand'; |
| 28 |
protected $brand_image_key = 'thumbnail_id'; |
| 29 |
} |
| 30 |
} |
| 31 |
|