A small data management Wordpress plugin for UNKT website. The plugin will have a simple admin component to manage CRUD operations for data entry as well as a public facing component to display the data as graphs and tables.
0
stars
0
forks
source link
Refactor code to follow Wordpress Codex plugin best practices #47
[ ] Refactor all the database interactions to be registered as actions via the add_action method using the wp_ajax method.
[ ] Remove the unnecessary files.
[ ] Remove the unnecessary code.
[ ] Everything is working after refactoring.
The reason behind this refactoring is that we added some hardcoded values which may be different when installed in different environment, so in order to make the plugin work on every install we should not use hardcoded path values.
The reason behind this refactoring is that we added some hardcoded values which may be different when installed in different environment, so in order to make the plugin work on every install we should not use hardcoded path values.