mirror of
https://ghproxy.net/https://github.com/elementor/wp2static-addon-github.git
synced 2025-10-04 05:56:40 +08:00
17 lines
402 B
PHP
17 lines
402 B
PHP
<?php
|
|
|
|
class Wp2static_Addon_S3_Admin {
|
|
|
|
private $plugin_name;
|
|
private $version;
|
|
|
|
public function __construct( $plugin_name, $version ) {
|
|
$this->plugin_name = $plugin_name;
|
|
$this->version = $version;
|
|
|
|
}
|
|
|
|
public function enqueue_scripts() {
|
|
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/wp2static-addon-s3-admin.js', array( 'jquery' ), $this->version, false );
|
|
}
|
|
}
|