_post_type_meta_capabilities [ WordPress Function ]
_post_type_meta_capabilities ( $capabilities = null )
| Access: |
|
| Defined at: |
|
Soorgelijke functies: get_post_type_capabilities, get_post_type_labels, wp_nav_menu_post_type_meta_boxes, post_type_archive_title, is_post_type_archive
Stores or returns a list of post type meta caps for map_meta_cap().
Source
<?php
function _post_type_meta_capabilities( $capabilities = null ) {
static $meta_caps = array();
if ( null === $capabilities )
return $meta_caps;
foreach ( $capabilities as $core => $custom ) {
if ( in_array( $core, array( 'read_post', 'delete_post', 'edit_post' ) ) )
$meta_caps[ $custom ] = $core;
}
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- _post_type_meta_capabilities (WordPress Function) - WPSeek.com
WordPress lookup for _post_type_meta_capabilities, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - WordPress › Support » Dreamhost update to 3.1 failed: fatal errors
Just tried auto-updating to 3.1 and it broke the entire site. On the front and admin pages: Fatal error: Call to undefined function _post_type_meta_capabilities() in ...
wordpress.org - $post_author_data = get_userdata( $post->post_author ); } else ...
$post_type_meta_caps = _post_type_meta_capabilities(); if ( isset( $ post_type_meta_caps[ $cap ] ) ) { $args = array_merge( array( $ post_type_meta_caps[ ...
crossculture.jp - PHPXRef 0.7 : WordPress : Full Function Index
... _post_states() Definitions: 1 References: 2; _post_type_meta_capabilities() Definitions: 1 References: 2; _prepare_media_item() Definitions: 1 References: 3 ...
phpxref.ftwr.co.uk