first commit

This commit is contained in:
Roman Pyrih
2026-03-10 09:50:10 +01:00
commit 64c4a90405
7289 changed files with 2645777 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace ElementorPro\Core\Compatibility;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Compatibility {
public static function register_actions() {
add_action( 'init', [ __CLASS__, 'on_init' ] );
}
public static function on_init() {
static::translate_press();
}
private static function translate_press() {
if ( ! class_exists( 'TRP_Translate_Press' ) ) {
return;
}
add_filter( 'elementor_pro/license/api/use_home_url', '__return_false' );
}
}