HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/root/proc/thread-self/cwd/wp-content/plugins/learnpress/templates/global/lp-message.php
<?php
/**
 * Template for displaying global message.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/global/lp-message.php.
 *
 * @author  ThimPress
 * @package  Learnpress/Templates
 * @version  1.0.1
 * @since  4.2.0
 */

defined( 'ABSPATH' ) || exit();

if ( ! isset( $customer_message ) || ! isset( $customer_message['content'] ) || ! isset( $customer_message['status'] ) ) {
	return;
}

$classes = array( 'learn-press-message', $customer_message['status'], 'lp-content-area' );
?>
<div
	class="<?php echo esc_attr( join( ' ', $classes ) ); ?>"><?php echo wp_kses_post( $customer_message['content'] ); ?>
</div>