Registration Actions can be a lot easier
WordPress uses a lot of registration actions for adding new types of content, such as custom post types, navigation menu locations, sidebars, taxonomies and image sizes. By default, these actions require a lot of parameters.
The WP Register script makes it easy to register these types of information using a single array of configurations.
Installing WP Register
WP Register can be installed by including the script as found on Github within your project, or by including it using composer. WP Register is obviously a script for WordPress.
Detailed documentation on how to implement WP Register can be found in the readme at Github. Basically, it is as easy as creating a new WP Register instance and passing an array of desired configurations.
Our Complete WordPress Script Collection
During the years, we found out that we were repeating the same code over and over in our WordPress development projects. The obvious thought came in mind: Why don’t we store these pieces of code in reusable scripts on GitHub? And so it happened, our repository was born.
WP Components is a collection of common components used in the development of websites, such as breadcrumbs.
WP Custom Fields is a kick-ass framework for custom customizer, options pages and post, taxonomy or user metabox fields.
WP Enqueue is a script for enqueing scripts and styles easily.
WP Optimize allows to implement basic optimizations to a WordPress installation by the removal of redundant scripts and code.
WP Register is a script that allows to easily register custom posts, taxonomies, sidebars, menus and widgets.
WP Updater is a script to update a theme or plugin through an external repository.
WP Router is a WordPress script that enables a developer to add custom routes and link these to custom templates.
WP Config is a class which can be used to store, add or modify configurations for a theme or plugin.
WP Autoload shows how one can use autoloading with WordPress.