# woorewards/trunk/include/pointsflow/methods/hostplugin.php

MyRewards, version trunk. 23 lines.

- Page: https://pluginprobe.com/plugins/woorewards/trunk/code/include/pointsflow/methods/hostplugin.php
- Raw: https://pluginprobe.com/plugins/woorewards/trunk/raw/include/pointsflow/methods/hostplugin.php
- Modified: 2026-02-17T11:50:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/woorewards/trunk/code/include/pointsflow/methods/hostplugin.php#L10-L20`.

```php
<?php
namespace LWS\WOOREWARDS\PointsFlow\Methods;

// don't call the file directly
if( !defined( 'ABSPATH' ) ) exit();
require_once LWS_WOOREWARDS_INCLUDES . '/pointsflow/methods/metakey.php';

class HostPlugin extends \LWS\WOOREWARDS\PointsFlow\Methods\MetaKey
{
	/** @return (array) the json that will be send,
	 * An array with each entries as {email, points} */
	public function export($value, $arg)
	{
		return parent::export('hp_woo_rewards_points', $arg);
	}

	/** @return (string) human readable name */
	public function getTitle()
	{
		return __("HostPlugin", 'woorewards-lite');
	}
}

```
