# content-protector/4.1.4/inc/freemius/templates/plugin-info/screenshots.php

Passster – Password Protect Pages and Content, version 4.1.4. 35 lines.

- Page: https://pluginprobe.com/plugins/content-protector/4.1.4/code/inc/freemius/templates/plugin-info/screenshots.php
- Raw: https://pluginprobe.com/plugins/content-protector/4.1.4/raw/inc/freemius/templates/plugin-info/screenshots.php
- Modified: 2023-05-31T10:07:46+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/content-protector/4.1.4/code/inc/freemius/templates/plugin-info/screenshots.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.0.6
	 */

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

	/**
	 * @var array $VARS
	 *
	 * @var FS_Plugin $plugin
	 */
	$plugin = $VARS['plugin'];

	$screenshots = $VARS['screenshots'];
?>
<ol>
	<?php $i = 0;
		foreach ( $screenshots as $s => $url ) : ?>
			<?php
			// Relative URLs are replaced with WordPress.org base URL
			// therefore we need to set absolute URLs.
			$url = 'http' . ( WP_FS__IS_HTTPS ? 's' : '' ) . ':' . $url;
			?>
			<li>
				<a href="<?php echo $url ?>" title="<?php echo esc_attr( sprintf( fs_text_inline( 'Click to view full-size screenshot %d', 'view-full-size-x', $plugin->slug ), $i ) ) ?>"><img src="<?php echo $url ?>"></a>
			</li>
			<?php $i ++; endforeach ?>
</ol>

```
