HEX
Server: LiteSpeed
System: Linux server306.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: hubdkrco (641)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: /home/hubdkrco/6wgame.pk/wp-content/plugins/colibri-page-builder/src/Customizer/ThemeSupport.php
<?php

namespace ColibriWP\PageBuilder\Customizer;

class ThemeSupport {
	private static $defaultSupport = array();

	private static $defaultsReady = false;

	private static function setDefault() {

		if ( self::$defaultsReady ) {
			return;
		}

		self::$defaultsReady = true;

		$companion            = \ColibriWP\PageBuilder\PageBuilder::instance();
		self::$defaultSupport = array(
			'custom-background' => array(
				'default-color'      => "#F5FAFD",
				'default-repeat'     => 'no-repeat',
				'default-position-x' => 'center',
				'default-attachment' => 'fixed',
			),
		);
	}

	public static function load() {
		self::setDefault();

		$supports = apply_filters( 'colibri_pagebuilder/theme_support', static::$defaultSupport );

		foreach ( $supports as $key => $value ) {
			add_theme_support( $key, $value );
		}
	}
}