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

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

- Page: https://pluginprobe.com/plugins/payplug/3.1.0/code/src/Admin/Vue/Component.php
- Raw: https://pluginprobe.com/plugins/payplug/3.1.0/raw/src/Admin/Vue/Component.php
- Modified: 2026-09-25T08:27:34+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/3.1.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,
        ];
    }
}

```
