WordPress at a glance
function is not described

_post_type_meta_capabilities() WP 3.1.0

Store or return a list of post type meta caps for map_meta_cap().

  • Global. Array. $post_type_meta_caps Used to store meta capabilities.

No Hooks.

Return

Nothing (null).

Usage

_post_type_meta_capabilities( $capabilities );
$capabilities(array)
Post type meta capabilities.
Default: null

Code of post type meta capabilities: wp-includes/post.php VER 5.0.3

<?php
function _post_type_meta_capabilities( $capabilities = null ) {
	global $post_type_meta_caps;

	foreach ( $capabilities as $core => $custom ) {
		if ( in_array( $core, array( 'read_post', 'delete_post', 'edit_post' ) ) ) {
			$post_type_meta_caps[ $custom ] = $core;
		}
	}
}