mirror of
https://gh.wpcy.net/https://github.com/michelve/software-license-manager.git
synced 2026-05-25 20:22:43 +08:00
improved: API endpoint improved: expiration task handler added: sample files for integration
13 lines
No EOL
408 B
PHP
13 lines
No EOL
408 B
PHP
<?php
|
|
|
|
// If this file is called directly, abort.
|
|
if (!defined('WPINC')) {
|
|
die();
|
|
}
|
|
|
|
// Enqueue admin styles and scripts
|
|
function slm_admin_assets() {
|
|
wp_enqueue_style('slmplus-admin', SLM_ASSETS_URL . 'css/slm.css', array(), time(), 'all');
|
|
wp_enqueue_script('slm-admin-js', SLM_ASSETS_URL . 'js/slm.js', array('jquery'), time(), true);
|
|
}
|
|
add_action('admin_enqueue_scripts', 'slm_admin_assets'); |