Provides a foundation and extensions for/to common WordPress developer functions or tasks, such as creating and installing plugins, making complex database queries, etc.
Includes - MVC
- common helpful functions:
** v (if isset use value else default)
** kv (non-destructive version of v)
** h (htmlspecialchars)
** str (check if string)
** post/get (wrapper for $_GET, $_POST or default),
** server ($_SERVER wrapper)
** url (returns current url path, optionally parsed by segment)
** mvc_filepath (get include path to mvc file)
- error handling + debugging template
- html wrapper functions
- language functions (more like loading reusable labels)
- form + validation
- the mvc stack itself
Includes - Etc
- custom exception class - extend this for easier catching
- HtmlRenderer - not actually sure this is used anywhere, it allows for the plugin-pattern to render html
- inflector - for singularizing/pluralizing stuff
- Singleton - extend this for singleton/factor instance
- states_and_countries - gives an array of states and countries
- wp_options_page - wrapper object for creating option pages
- wp_page_builder - wrapper object for creating WP pages
- wp_pagination - wrapper object for creating "1 - XYZ..." pagination links
- wp_plugin_installer - wrapper object for handling plugin installation actions - (un)install, (de)activate, upgrade
- wp_plugin_shell - extend this when making a plugin to get access to commonly used stuff for plugins
- wp_querybuilder - use this chainable object to create mysql queries, built-in
prepare