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

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

- Page: https://pluginprobe.com/plugins/convertkit/3.4.3/code/views/frontend/restrict-content/notices.php
- Raw: https://pluginprobe.com/plugins/convertkit/3.4.3/raw/views/frontend/restrict-content/notices.php
- Modified: 2023-11-20T16:33:50+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/notices.php#L10-L20`.

```php
<?php
/**
 * Outputs error notices in the restrict content call to action.
 *
 * @package ConvertKit
 * @author ConvertKit
 */

// If an error occured, show it now.
if ( is_wp_error( WP_ConvertKit()->get_class( 'output_restrict_content' )->error ) ) {
	?>
	<div class="convertkit-restrict-content-notice convertkit-restrict-content-notice-error"><?php echo esc_html( WP_ConvertKit()->get_class( 'output_restrict_content' )->error->get_error_message() ); ?></div>
	<?php
}

```
