| 1 |
<?php |
| 2 |
namespace LWS\WOOREWARDS\PointsFlow\Methods; |
| 3 |
|
| 4 |
// don't call the file directly |
| 5 |
if( !defined( 'ABSPATH' ) ) exit(); |
| 6 |
require_once LWS_WOOREWARDS_INCLUDES . '/pointsflow/methods/metakey.php'; |
| 7 |
|
| 8 |
class IgniteWoo extends \LWS\WOOREWARDS\PointsFlow\Methods\MetaKey |
| 9 |
{ |
| 10 |
/** @return (array) the json that will be send, |
| 11 |
* An array with each entries as {email, points} */ |
| 12 |
public function export($value, $arg) |
| 13 |
{ |
| 14 |
return parent::export('reward_points', $arg); |
| 15 |
} |
| 16 |
|
| 17 |
/** @return (string) human readable name */ |
| 18 |
public function getTitle() |
| 19 |
{ |
| 20 |
return __("IgniteWoo", 'woorewards-lite'); |
| 21 |
} |
| 22 |
} |
| 23 |
|