public function delete_from_theme() { foreach ($this->templates as $key => $template) { $destination = trailingslashit($this->theme_template_path) . '/' . $key; SB_PHP::delete_file($destination); } }