NEU-Libraries / drs-toolkit-wp-plugin

This repository is for the layer of the CERES: Exhibit Toolkit that consumes data from the DRS API and presents it through a Wordpress front end. The primary plugin provides search, browse, and display of items from the DRS.
13 stars 11 forks source link

Devise a plan for segregating the codebase into logical sections or modules based on functionality. #283

Open patrickmj opened 3 months ago

drashti-NEU commented 3 months ago

Based on the provided code file drs-tk.php, we can segregate the codebase into logical sections or modules based on functionality. Here's a proposed plan:

1. Core Functionality:

2. Templates and Overrides:

3. Settings and Configuration:

4. Rewrite Rules and Activation/Deactivation Hooks:

5. API URL Building and Authentication:

6. TinyMCE Plugin and Integration:

7. Miscellaneous Helper Functions: