Disabled the shop_webhook show_ui option

This commit is contained in:
Claudio Sanches 2015-01-08 16:38:30 -02:00
parent 03193b867b
commit ba538ec36c
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ class WC_Post_types {
'parent' => __( 'Parent Webhook', 'woocommerce' )
),
'public' => false,
'show_ui' => true,
'show_ui' => false,
'capability_type' => 'shop_webhook',
'map_meta_cap' => true,
'publicly_queryable' => false,