WordPressCustom Post Types


Syntax

  • register_post_type( $post_type, $args );

Parameters

ParameterDetails
$post_type(string) (Required)
$args(array/string) (Optional)