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

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

- Page: https://pluginprobe.com/plugins/payplug/2.10.0/code/src/Admin/Vue/Component.php
- Raw: https://pluginprobe.com/plugins/payplug/2.10.0/raw/src/Admin/Vue/Component.php
- Modified: 2024-10-24T16:13:54+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.10.0/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
		];
	}

}

```
