PluginProbe
MyRewards / trunk
MyRewards vtrunk
5.7.8 5.7.7 5.7.6 trunk 1.2.2 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.1 2.2.0 2.3.0 2.4.0 2.4.1 2.5.0 2.6.4 2.6.6 3.0.0.0 3.1.0 3.1.2 3.1.2.1 3.10.4 3.10.9 All 165 releases
woorewards / include / pointsflow / methods / ignitewoo.php

ignitewoo.php in MyRewards trunk, at include/pointsflow/methods/ignitewoo.php

23 lines 585 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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