Moderator
t-p
(@t-p)
Please explain what you mean by change the page capabilities.
I want change it:
[cap] => stdClass Object
(
[edit_post] => edit_post
[read_post] => read_post
[delete_post] => delete_post
[edit_posts] => edit_posts
[edit_others_posts] => edit_others_posts
[publish_posts] => publish_posts
[read_private_posts] => read_private_posts
[read] => read
[delete_posts] => delete_posts
[delete_private_posts] => delete_private_posts
[delete_published_posts] => delete_published_posts
[delete_others_posts] => delete_others_posts
[edit_private_posts] => edit_private_posts
[edit_published_posts] => edit_published_posts
[create_posts] => edit_posts
to something like:
‘publish_posts’ => ‘publish_products’
‘edit_posts’ => ‘edit_products’
‘edit_others_posts’ => ‘edit_others_products’
‘delete_posts’ => ‘delete_products’
‘delete_others_posts’ => ‘delete_others_products’
‘read_private_posts’ => ‘read_private_products’
‘edit_post’ => ‘edit_product’
‘delete_post’ => ‘delete_product’
‘read_post’ => ‘read_product’