PHP code example of web-soldier / wp-post-type-util
1. Go to this page and download the library: Download web-soldier/wp-post-type-util library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
web-soldier / wp-post-type-util example snippets
/**
* Register post type example.
*
* Author: NikolayS93
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
use WP_Utility\Post_Type;
use WP_Utility\Custom_Fields_Meta_Box;