Development of WordPress plugin for paid content. Web application has an API for hiding part of webpage content. To get access to premium content users should make a micro payment or view ads. The goal of the project was to create a plugin to communicate with API on any desired webpage and prepare to publish on wordpress.org. To be accepted for publishing on wordpress.org the plugin should meet coding standards set by WordPress.
Plugin has been implemented according to best practices. For instance, for correct automatic installation and uninstallation it creates necessary tables during setup and them removed them during uninstallation process. Plugin also creates its own settings section in WordPress backend. All settings are saved in the database and are available after re-installation. Plugin uses hooks to integrate its functionality with webpage and caches its results to optimize page speed.
Plugin has been checked against code climate and has been accepted for publication successfully.