slug = $args['plugin_slug'];
parent::__construct($manager, $id, $args);
}
/**
* Enqueue function.
*/
public function enqueue() {
blossom_studio_Plugin_Install_Helper::instance()->enqueue_scripts();
}
/**
* Render content for the control.
*/
public function render_content() {
?>
label); ?>
description) {?>
description); ?>
create_plugin_install_button($this->slug);
}
/**
* Create plugin install button.
*
* @param string $slug plugin slug.
*
* @return bool
*/
public function create_plugin_install_button($slug) {
return blossom_studio_Plugin_Install_Helper::instance()->get_button_html($slug);
}
}