first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
class WPML_Admin_Resources_Hooks implements IWPML_Backend_Action {
public function add_hooks() {
add_action( 'admin_enqueue_scripts', array( $this, 'register_resources' ) );
}
public function register_resources() {
wp_register_style( 'wpml-tooltip', ICL_PLUGIN_URL . '/res/css/tooltip/tooltip.css', array( 'wp-pointer' ), ICL_SITEPRESS_VERSION );
wp_register_script( 'wpml-tooltip', ICL_PLUGIN_URL . '/res/js/tooltip/tooltip.js', array( 'wp-pointer', 'jquery' ), ICL_SITEPRESS_VERSION );
}
}