{"repo":"makeitworkpress/wp-register","free":true,"listed":false,"github":"https://github.com/makeitworkpress/wp-register","clone":"git clone https://github.com/makeitworkpress/wp-register.git","description":"Makes registering custom post types, taxonomies, sidebars, menus and widgets pretty easy.","language":"PHP","stars":20,"topics":["wordpress-post-type","wordpress-development","wordpress-library","wordpress-php-library","wordpress","wordpress-theme-development","wordpress-plugin-development"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"wp-register WordPress has many registration tasks. WP Register makes registering custom blocks, image sizes, menus, post types, taxonomies, sidebars and widgets easy. WP Register is maintained by Make it WorkPress. Usage Include the WP Register class in your plugin, theme or child theme file. Require it in your file, use an autoloader or include it using composer. You can read more about autoloading in the readme of wp-autoload. Build your array with registrations You can add the types you want to register through an multidimensional array, as explained in the example below Create instance Create a new instance of the WP Register class with your registration array and textdomain string as arguments in the following manner. The Register class accepts two arguments, namely an Array $registrations and String $textdomain .","default_branch":null,"files":null,"tree":[],"storefront":"/r/makeitworkpress","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/makeitworkpress/wp-register/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}