HEX
Server: LiteSpeed
System: Linux premium221.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: madepabj (2566)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: //home/madepabj/public_html/wp-content/plugins/rehub-framework/vendor/vafpress/classes/wp/util.php
<?php

class VP_WP_Util
{

	public static function kses_html($html)
	{
		if( function_exists('wp_kses_allowed_html') ) {
			$allowed_post_html = wp_kses_allowed_html( 'post' );
		}
		else {
			global $allowedposttags;
			$allowed_post_html = $allowedposttags;
		}
		$allow = array_merge($allowed_post_html, array(
			'link' => array(
				'href' => true,
				'rel'  => true,
				'type' => true,
			),
			'style' => array(
				'type' => true,
			),
		));
		return wp_kses($html, $allow);
	}

	public static function admin_notice($message, $is_error = false)
	{
		if ($is_error)
			echo '<div class="error">';
		else
			echo '<div class="updated">';

		echo "<p><strong>$message</strong></p></div>";
	}

}