WordPress - Create custom post type

1
2
add_action( 'init', 'create_post_type' );
function create_post_type() {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
A simple function which allows you to declare your own post type

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.