# payplug/2.6.3/src/Admin/Vue/Component.php

PayPlug for WooCommerce (Official), version 2.6.3. 23 lines.

- Page: https://pluginprobe.com/plugins/payplug/2.6.3/code/src/Admin/Vue/Component.php
- Raw: https://pluginprobe.com/plugins/payplug/2.6.3/raw/src/Admin/Vue/Component.php
- Modified: 2023-10-09T14:47:20+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/payplug/2.6.3/code/src/Admin/Vue/Component.php#L10-L20`.

```php
<?php

namespace Payplug\PayplugWoocommerce\Admin\Vue;

class Component {

	/**
	 * @param $text
	 * @param $url
	 * @param $target
	 *
	 * @return array
	 */
	public static function link( $text, $url, $target ) {
		return [
			"text"   => $text,
			"url"    => $url,
			"target" => $target
		];
	}

}

```
