# convertkit/3.4.3/views/frontend/restrict-content/header.php

Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages, version 3.4.3. 21 lines.

- Page: https://pluginprobe.com/plugins/convertkit/3.4.3/code/views/frontend/restrict-content/header.php
- Raw: https://pluginprobe.com/plugins/convertkit/3.4.3/raw/views/frontend/restrict-content/header.php
- Modified: 2025-02-04T03:13:26+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/convertkit/3.4.3/code/views/frontend/restrict-content/header.php#L10-L20`.

```php
<?php
/**
 * Outputs a heading and paragraph text based on the supplied
 * $heading and $text variables, used across Restrict Content
 * by Tag and Product.
 *
 * @since   2.7.1
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>
<h3><?php echo esc_html( $heading ); ?></h3>
<p>
	<?php
	foreach ( explode( "\n", $text ) as $text_line ) {
		echo esc_html( $text_line ) . '<br />';
	}
	?>
</p>
```
