[2.4] Fixed webhook trash link by allowing post type ui, closes #9759

This commit is contained in:
Claudio Sanches 2015-12-04 12:39:12 -02:00
parent 3ae614c5a8
commit fe9320ffa3
1 changed files with 1 additions and 1 deletions

View File

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