Files
Malin f3ff7b7186 feat: initial ACRIB WordPress deployment
- WordPress 6.9.4 (es_ES) with Kadence theme
- Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto
- Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold
- Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI)
- Plugins: Kadence Blocks, Polylang, Contact Form 7
- Custom CSS with full brand styling and responsive layout
- HTTPS enforced via wp-config.php proxy detection
2026-05-19 19:25:59 +02:00

44 lines
1.2 KiB
PHP

<?php declare( strict_types=1 );
namespace KadenceWP\KadenceBlocks\Uplink;
use KadenceWP\KadenceBlocks\StellarWP\ProphecyMonorepo\Container\Contracts\Provider;
final class Uplink_Provider extends Provider {
/**
* Uplink library related functionality.
*
* @return void
*/
public function register(): void {
$this->register_multisite_configuration();
}
/**
* Store tokens/license keys at the network level if the "kadence individual multisites" setting is disabled.
*
* @return void
*/
private function register_multisite_configuration(): void {
add_action( 'init', static function(): void {
$network_enabled = kadence_blocks_is_network_authorize_enabled();
add_filter( 'stellarwp/uplink/kadence-blocks/allows_network_subfolder_license',
static function () use ( $network_enabled ): bool {
return $network_enabled;
}, 10 );
add_filter( 'stellarwp/uplink/kadence-blocks/allows_network_subdomain_license',
static function () use ( $network_enabled ): bool {
return $network_enabled;
}, 10 );
add_filter( 'stellarwp/uplink/kadence-blocks/allows_network_domain_mapping_license',
static function () use ( $network_enabled ): bool {
return $network_enabled;
}, 10 );
} );
}
}