diff --git a/src/importer/class-tainacan-csv.php b/src/importer/class-tainacan-csv.php index 1344ea30d..f014a2f4e 100644 --- a/src/importer/class-tainacan-csv.php +++ b/src/importer/class-tainacan-csv.php @@ -71,4 +71,13 @@ class CSV extends Importer { return false; } + + public function options_form() { + + $form = ''; + $form .= ''; + + return $form; + + } } \ No newline at end of file diff --git a/src/importer/class-tainacan-importer.php b/src/importer/class-tainacan-importer.php index c48f80717..b5654172e 100644 --- a/src/importer/class-tainacan-importer.php +++ b/src/importer/class-tainacan-importer.php @@ -192,6 +192,7 @@ abstract class Importer { $return['manual_collection'] = $this->manual_collection; $return['manual_mapping'] = $this->manual_mapping; $return['accepts'] = $this->accepts; + $return['options_form'] = $this->options_form(); } return $return; @@ -678,6 +679,12 @@ abstract class Importer { * @return int */ public function get_source_number_of_items() {} + + + /** + * Method implemented by child importer to return the HTML of the Options Form to be rendered in the Importer page + */ + public function options_form() {}