ldc-groupe/content/plugins/sitepress-multilingual-cms/classes/admin-resources/class-wpml-admin-resources-hooks.php

13 lines
478 B
PHP
Raw Normal View History

2020-04-17 16:50:36 +02:00
<?php
class WPML_Admin_Resources_Hooks {
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 );
}
}