HEX
Server: LiteSpeed
System: Linux vps338 6.12.0-211.34.1.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 15 07:56:02 EDT 2026 x86_64
User: ondernemer (1054)
PHP: 8.3.32
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/ondernemer/public_html/wp-content/themes/dt-the7/inc/admin/notices/tgmpa-notice.php
<?php

namespace The7\Admin\Notices;

use The7_TGMPA;

defined( 'ABSPATH' ) || exit;

class TGMPA_Notice extends Abstract_Notice {

	public function render() {
		$notice_strings = The7_TGMPA::get_instance()->get_notice_strings();

		if ( ! $notice_strings ) {
			$notice_strings = [
				'TGMPA admin notice',
				'Some text for debugging purposes',
			];
		}

		$title = array_shift( $notice_strings );
		?>

		<p role="heading"><?php echo wp_kses_post( $title ); ?></p>

		<?php foreach ( $notice_strings as $notice_string ) : ?>

		<p>
			<?php echo wp_kses_post( $notice_string ); ?>
		</p>

		<?php endforeach; ?>

		<?php
	}

	public function get_code() {
		return 'tgmpa';
	}

	public function is_visible() {
		return The7_TGMPA::get_instance()->is_show_notice();
	}

	public function get_wrapper_class() {
		return 'the7-dashboard-notice notice-success';
	}
}