# convertkit/3.4.5/views/frontend/restrict-content/member-content-logged-in.php

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

- Page: https://pluginprobe.com/plugins/convertkit/3.4.5/code/views/frontend/restrict-content/member-content-logged-in.php
- Raw: https://pluginprobe.com/plugins/convertkit/3.4.5/raw/views/frontend/restrict-content/member-content-logged-in.php
- Modified: 2026-09-17T13:04:24+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.5/code/views/frontend/restrict-content/member-content-logged-in.php#L10-L20`.

```php
<?php
/**
 * Outputs the Member Content Login block when the subscriber is logged in,
 * displaying a message and a button to log out.
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>
<div id="convertkit-restrict-content" class="convertkit-login <?php echo esc_attr( implode( ' ', map_deep( $css_classes, 'sanitize_html_class' ) ) ); ?>" style="<?php echo esc_attr( implode( ';', $css_styles ) ); ?>">
	<div class="convertkit-restrict-content-actions">
		<p>
			<?php echo esc_html( $atts['logged_in_text'] ); ?>
		</p>
		<p>
			<a href="<?php echo esc_url( $logout_url ); ?>" class="convertkit-restrict-content-logout wp-block-button__link wp-element-button"><?php echo esc_html( $atts['logout_button_label'] ); ?></a>
		</p>
	</div>
</div>

```
