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

seQura, version 4.0.0. 15 lines.

- Page: https://pluginprobe.com/plugins/sequra/4.0.0/code/templates/admin/action_link.php
- Raw: https://pluginprobe.com/plugins/sequra/4.0.0/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/4.0.0/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>

```
