# copy-the-code/3.7.0/classes/freemius/templates/plugin-icon.php

Copy Anything to Clipboard for WordPress – Copy Button, Copy Text &amp; Copy Code, version 3.7.0. 22 lines.

- Page: https://pluginprobe.com/plugins/copy-the-code/3.7.0/code/classes/freemius/templates/plugin-icon.php
- Raw: https://pluginprobe.com/plugins/copy-the-code/3.7.0/raw/classes/freemius/templates/plugin-icon.php
- Modified: 2022-12-25T19:14:00+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/copy-the-code/3.7.0/code/classes/freemius/templates/plugin-icon.php#L10-L20`.

```php
<?php
	/**
	 * @package     Freemius
	 * @copyright   Copyright (c) 2015, Freemius, Inc.
	 * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
	 * @since       1.1.4
	 */

	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

	/**
	 * @var array $VARS
	 */
	$fs   = freemius( $VARS['id'] );

    $size = isset( $VARS['size'] ) ? $VARS['size'] : 80;
?>
<div class="fs-plugin-icon">
	<img src="<?php echo $fs->get_local_icon_url() ?>" width="<?php echo $size ?>" height="<?php echo $size ?>" />
</div>
```
