# sequra/3.0.6/templates/admin/action_link.php

seQura, version 3.0.6. 15 lines.

- Page: https://pluginprobe.com/plugins/sequra/3.0.6/code/templates/admin/action_link.php
- Raw: https://pluginprobe.com/plugins/sequra/3.0.6/raw/templates/admin/action_link.php
- Modified: 2024-10-29T15:19:22+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/sequra/3.0.6/code/templates/admin/action_link.php#L10-L20`.

```php
<?php
/**
 * Link to an action.
 *
 * @package    SeQura/WC
 * @var string $args The arguments. Must contain the 'href' key. Must contain the 'text' key.
 */

defined( 'WPINC' ) || die;
if ( ! isset( $args['href'] ) || ! isset( $args['text'] ) ) {
	return;
}
?>
<a href="<?php echo \esc_url( $args['href'] ); ?>"><?php echo \esc_html( $args['text'] ); ?></a>

```
