HEX
Server: Apache/2
System: Linux host.jethost.pl 4.19.0-26-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64
User: frigodor (1049)
PHP: 7.4.33
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,mail
Upload Files
File: /home/frigodor/public_html/wp-content/plugins/complianz-gdpr-premium/settings/config/blocks.php
<?php
defined('ABSPATH') or die();
/**
 * This file contains the blocks for the dashboard
 * @since 2.0
 */
if (!function_exists('cmplz_blocks')) {
	function cmplz_blocks() {
		if ( ! cmplz_user_can_manage() ) {
			return [];
		}
		$blocks = [
			[
				'id'       => 'progress',
				'header' => [
					'type' => 'react',
					'data' => 'ProgressHeader'
				],
				'content'  => [ 'data' => 'ProgressBlock' ],
				'footer'   => [ 'data' => 'ProgressFooter' ],
				'class'    => ' cmplz-column-2',
			],
			[
				'id'       => 'documents',
				'header' => [
					'type' => 'react',
					'data' => 'DocumentsHeader'
				],
				'content'  => [ 'data' => 'DocumentsBlock' ],
				'footer'   => [ 'data' => 'DocumentsFooter' ],
				'class'    => 'border-to-border',
			],
			[
				'id'       => 'tools',
				'header' => [
					'type' => 'react',
					'data' => 'ToolsHeader'
				],
				'content'  => [ 'type' => 'react', 'data' => 'Tools' ],
				'footer'   => [ 'type' => 'react', 'data' => 'ToolsFooter' ],

				'class'    => 'border-to-border',
			],
			[
				'id'       => 'tips_tricks',
				'header' => [
					'type' => 'text',
					'data' => __( "Tips & Tricks", 'complianz-gdpr' ),
				],
				'content'  => ['data' => 'TipsTricks' ],
				'footer'   => [ 'data' => 'TipsTricksFooter' ],
				'class'    => ' cmplz-column-2',
			],
			[
				'id'       => 'other-plugins',
				'header' => [
					'type' => 'react',
					'data' => 'OtherPluginsHeader'
				],
				'title'    => __( "Other Plugins", 'complianz-gdpr' ),
				'help'     => __( 'A help text', 'complianz-gdpr' ),
				'content'  => [ 'type' => 'react', 'data' => 'OtherPlugins' ],
				'footer'   => [ 'type' => 'html', 'data' => '' ],
				'class'    => ' cmplz-column-2 no-border no-background',
			],
		];

		return apply_filters( 'cmplz_blocks', $blocks );
	}
}