Welcome ,
  1. Home
  2. Settings Module

PageCarton Documentation

Interested in coding widgets, classes, or methods? Check out the Code section!

Documentation Article

Settings Module


Settings modules are the PHP Classes that prepare to take data in the user-defined plugin settings area. PageCarton Core allows plugins to take user-defined data to be able to alter the behavior of the settings based on the user choices.

2 yrs ago Posted By Ayoola Falola288 views in Code , Advanced Topics Share

Settings Modules extend the PageCarton core class PageCarton_Settings. It allow plugin developers to take variables from the plugin installer or user. The information filled in by the user may be used by the plugin developer to alter the behavior of the application.

A simple, yet perfect scenario is a plugin that takes feedback from site users and send as email to the website admin. Such plugin may want to ask for admin e-mail address to send the feedbacks to.

The process of creating a settings module is similar to the other modules:

PageCarton Admin Panel > Plugins > My Plugins > "New Settings"