HEX
Server: Apache/2.4.66 (Debian)
System: Linux ouvweb01 6.1.0-43-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.162-1 (2026-02-08) x86_64
User: respire.localocb5 (24651)
PHP: 8.3.30
Disabled: popen,proc_open,disk_free_space,diskfreespace,leak,exec,system,shell_exec,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_getpriority,pcntl_setpriority,pcntl_signal_dispatch,pcntl_signal,pcntl_sigprocmask,pcntl_sigtimedwait
Upload Files
File: /var/www/vhosts/respire.localoco.net/httpdocs/wp-content/themes/blocksy/inc/helpers/layout.php
<?php

function blocksy_normalize_layout($render_layout = [], $default_render_layout = []) {
	$render_ids = array_column($render_layout, 'id');

	foreach ($default_render_layout as $item) {
		if (! in_array($item['id'], $render_ids)) {
			$render_layout[] = $item;
		}
	}

	return $render_layout;
}