| 1 |
<?php |
| 2 |
|
| 3 |
namespace SureCart\Integrations\ThriveAutomator\DataFields; |
| 4 |
|
| 5 |
if ( ! defined( 'ABSPATH' ) ) { |
| 6 |
exit; // Silence is golden! |
| 7 |
} |
| 8 |
|
| 9 |
/** Product name field. */ |
| 10 |
class PreviousProductIDDataField extends ProductIDDataField { |
| 11 |
/** |
| 12 |
* The id for the data field. |
| 13 |
* |
| 14 |
* @return string |
| 15 |
*/ |
| 16 |
public static function get_id() { |
| 17 |
return 'surecart_previous_product_id_data_field'; |
| 18 |
} |
| 19 |
|
| 20 |
/** |
| 21 |
* The name for the data field. |
| 22 |
* |
| 23 |
* @return string |
| 24 |
*/ |
| 25 |
public static function get_name() { |
| 26 |
return __( 'Previous Product ID', 'surecart' ); |
| 27 |
} |
| 28 |
} |
| 29 |
|