Changeset 11269 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-type.php
- Timestamp:
- 10/07/2021 07:32:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-type.php
r11241 r11269 75 75 'exclude_from_search' => false, 76 76 'publicly_queryable' => true, 77 'capability_type' => 'page', 77 'capability_type' => array( 'lesson_plan', 'lesson_plans' ), 78 'map_meta_cap' => true, 78 79 'show_in_rest' => true, 79 80 ); … … 145 146 'exclude_from_search' => false, 146 147 'publicly_queryable' => true, 147 'capability_type' => 'page', 148 'capability_type' => array( 'workshop', 'workshops' ), 149 'map_meta_cap' => true, 148 150 'show_in_rest' => true, 149 151 'rewrite' => array( 'slug' => 'workshop' ),
Note: See TracChangeset
for help on using the changeset viewer.