Changeset 20271 for trunk/wp-includes/post.php
- Timestamp:
- 03/23/2012 05:53:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r20216 r20271 1301 1301 1302 1302 /** 1303 * Get all the post type features 1304 * 1305 * @since 3.4.0 1306 * @param string $post_type The post type 1307 * @return array 1308 */ 1309 1310 function get_all_post_type_supports( $post_type ) { 1311 global $_wp_post_type_features; 1312 1313 if ( isset( $_wp_post_type_features[$post_type] ) ) 1314 return $_wp_post_type_features[$post_type]; 1315 1316 return array(); 1317 } 1318 1319 /** 1303 1320 * Checks a post type's support for a given feature 1304 1321 *
Note: See TracChangeset
for help on using the changeset viewer.