# charitable/1.8.13/templates/shortcodes/logged-in.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.8.13. 27 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.8.13/code/templates/shortcodes/logged-in.php
- Raw: https://pluginprobe.com/plugins/charitable/1.8.13/raw/templates/shortcodes/logged-in.php
- Modified: 2026-01-01T16:41: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/charitable/1.8.13/code/templates/shortcodes/logged-in.php#L10-L20`.

```php
<?php
/**
 * Displays the logged in message.
 *
 * Override this template by copying it to yourtheme/charitable/shortcodes/logged-in.php
 *
 * @author  WP Charitable LLC
 * @package Charitable/Templates/Account
 * @since   1.0.0
 * @version 1.5.0
 * @version 1.8.8.6
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$charitable_message = isset( $view_args['logged_in_message'] )
	? $view_args['logged_in_message']
	: __( 'You are already logged in!', 'charitable' );

echo wp_kses_post( wpautop( $charitable_message ) );

?>
<a href="<?php echo esc_url( wp_logout_url( charitable_get_current_url() ) ) ?>"><?php esc_html_e( 'Logout.', 'charitable' ) ?></a>

```
