WordPress Plugin R23 glTL  1.0.0
class-r23_gltf-admin.php
Go to the documentation of this file.
1 <?php
2 
24 
32  private $plugin_name;
33 
41  private $version;
42 
50  public function __construct( $plugin_name, $version ) {
51 
52  $this->plugin_name = $plugin_name;
53  $this->version = $version;
54 
55  }
56 
62  public function enqueue_styles() {
63 
76  wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/r23_gltf-admin.css', array(), $this->version, 'all' );
77 
78  }
79 
85  public function enqueue_scripts() {
86 
99  wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/r23_gltf-admin.js', array( 'jquery' ), $this->version, false );
100 
101  }
102 
103 }