# stockpack/2.1/templates/attribution.php

StockPack – Stock photos and AI images from Unsplash, Adobe Stock, Freepik and more, version 2.1. 17 lines.

- Page: https://pluginprobe.com/plugins/stockpack/2.1/code/templates/attribution.php
- Raw: https://pluginprobe.com/plugins/stockpack/2.1/raw/templates/attribution.php
- Modified: 2019-12-03T06:19:48+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/stockpack/2.1/code/templates/attribution.php#L10-L20`.

```php
<script type="text/html" id="tmpl-stockpack-attribution">
<div class="attribution notice notice-warning is-dismissible">
	<# if ( data.message ) { #>
	<span>{{ data.message }}</span>
	<# } #>
	<# if ( data.link ) { #>
	<a target="_blank" href="{{ data.link }}">{{ data.link_title }}</a>
	<# } #>
	<# if ( data.author_info ) { #>
	<span class="author-info">{{ data.author_info }}</span>
	<# } #>
	<button type="button" class="notice-dismiss">
		<span class="screen-reader-text">Dismiss this notice.</span>
	</button>
</div>
</script>

```
