Files
mataba/shop/xshop-theme/inc/compatibility/elementor.php
T

17 lines
454 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
declare(strict_types=1);
defined('ABSPATH') || exit;
/**
* Elementor compatibility – no hard dependency.
*/
add_action('init', 'xshop_elementor_compat');
function xshop_elementor_compat(): void {
// Declare Elementor locations if needed later (header/footer).
// Guarded so missing Elementor is harmless.
if (!defined('ELEMENTOR_VERSION')) { return; }
// No-op for v1; widgets live in xshop-core when Elementor is present.
}