Changeset 950
- Timestamp:
- 10/29/2014 05:19:58 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/handbook.php
r879 r950 163 163 } 164 164 165 register_post_type( $this->post_type,array(165 $default_config = array( 166 166 'labels' => array( 167 167 'name' => $this->label, … … 184 184 'delete_with_user' => false, 185 185 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'page-attributes', 'custom-fields', 'comments', 'revisions' ), 186 ) ); 186 ); 187 // Allow customization of the default post type configuration via filter. 188 $config = apply_filters( 'handbook_post_type_defaults', $default_config, $slug ); 189 190 register_post_type( $this->post_type, $config ); 187 191 } 188 192
Note: See TracChangeset
for help on using the changeset viewer.