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 '
$message