1
vote
1answer
272 views

Custom post type: check permissions and validate nonce

I have a custom post type with the following capabilities: $capabilities = array( 'read_post' => 'administrator', 'read_private_posts' => 'administrator', 'publish_posts' => ...