WP_Post_Type::set_props

SummerySummery

Sets post type properties.

Syntax

WP_Post_Type::set_props( array|string $args )

ParametersParameters

$args

(array|string) (Required) Array or string of arguments for registering a post type.

SourceSource

File: wp-includes/class-wp-post-type.php


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top