Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'init', 'create_post_type' );
- function create_post_type ( )
- {
- register_post_type( 'CustomTestPost',
- array
- (
- 'labels' => array
- (
- 'name' => 'Custom Test Post',
- 'singular_name' => 'Custom Test Post'
- ),
- 'public' => true
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement