first commit

This commit is contained in:
Ryan Ariana
2024-05-06 11:04:37 +07:00
commit aee061ddba
7322 changed files with 2918816 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' );
}
}