Question: I tried researching the $this - > load _ dependencies ( ) ; code online to understand it , but I haven t found anything

I tried researching the $this->load_dependencies(); code online to understand it, but I havent found anything that makes sense to me. This line of code is within the PHP code below. Can anybody help me understand this line of code within the file below:
plugin_slug = 'single-post-meta-manager-slug';
$this->version ='0.2.0';
$this->load_dependencies();
$this->define_admin_hooks();
}
private function load_dependencies(){
require_once plugin_dir_path( dirname(__FILE__)). 'admin/class-single-post-meta-manager-admin.php';
require_once plugin_dir_path(__FILE__). 'class-single-post-meta-manager-loader.php';
$this->loader = new Single_Post_Meta_Manager_Loader();
}
private function define_admin_hooks(){
$admin = new Single_Post_Meta_Manager_Admin( $this->get_version());
$this->loader->add_action( 'admin_enqueue_scripts', $admin, 'enqueue_styles' );
$this->loader->add_action( 'add_meta_boxes', $admin, 'add_meta_box' );
}
public function run(){
$this->loader->run();
}
public function get_version(){
return $this->version;
}
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!