WordPress Plugin R23 glTL  1.0.0
Public Member Functions | Private Attributes
R23_gltf_Admin Class Reference

Public Member Functions

 __construct ( $plugin_name, $version)
 
 enqueue_styles ()
 
 enqueue_scripts ()
 

Private Attributes

 $plugin_name
 
 $version
 

Detailed Description

Definition at line 23 of file class-r23_gltf-admin.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $plugin_name,
  $version 
)

Initialize the class and set its properties.

Since
1.0.0
Parameters
string$plugin_nameThe name of this plugin.
string$versionThe version of this plugin.

Definition at line 50 of file class-r23_gltf-admin.php.

References $plugin_name, and $version.

Member Function Documentation

◆ enqueue_scripts()

enqueue_scripts ( )

Register the JavaScript for the admin area.

Since
1.0.0

This function is provided for demonstration purposes only.

An instance of this class should be passed to the run() function defined in R23_gltf_Loader as all of the hooks are defined in that particular class.

The R23_gltf_Loader will then create the relationship between the defined hooks and the functions defined in this class.

Definition at line 85 of file class-r23_gltf-admin.php.

◆ enqueue_styles()

enqueue_styles ( )

Register the stylesheets for the admin area.

Since
1.0.0

This function is provided for demonstration purposes only.

An instance of this class should be passed to the run() function defined in R23_gltf_Loader as all of the hooks are defined in that particular class.

The R23_gltf_Loader will then create the relationship between the defined hooks and the functions defined in this class.

Definition at line 62 of file class-r23_gltf-admin.php.

Field Documentation

◆ $plugin_name

$plugin_name
private

Definition at line 32 of file class-r23_gltf-admin.php.

Referenced by __construct().

◆ $version

$version
private

Definition at line 41 of file class-r23_gltf-admin.php.

Referenced by __construct().


The documentation for this class was generated from the following file: