WPDev.one
Core Function
View Source on Trac ↗

get_post_type_capabilities()

get_post_type_capabilities( mixed $args )

Builds an object with all post type capabilities out of a post type object

Parameters 1 required

Name / Type Description
$args
object

Post type registration arguments.

Required

Return Value

(object)
Object with all the capabilities as member variables.

Function Information

Since Version
3.0.0
Source File
wp-includes/post.php
Advertisement