Changeset 1318970
- Timestamp:
- 12/31/2015 04:34:06 AM (10 years ago)
- Location:
- disable-divi-projects/trunk
- Files:
-
- 2 edited
-
disable-divi-projects.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
disable-divi-projects/trunk/disable-divi-projects.php
r1318822 r1318970 10 10 */ 11 11 12 function et_pb_register_posttypes() {} 12 if (!function_exists('unregister_post_type')) : 13 function unregister_post_type() 14 { 15 global $wp_post_types; 16 if (isset($wp_post_types['project'])) 17 { 18 unset($wp_post_types['project']); 19 return true; 20 } 21 return false; 22 } 23 endif; 24 25 add_action('init', 'unregister_post_type', 11); 26 27 function unregister_taxonomies(){ 28 register_taxonomy('project_category', array()); 29 register_taxonomy('project_tag', array()); 30 } 31 add_action('init', 'unregister_taxonomies', 11); -
disable-divi-projects/trunk/readme.txt
r1318837 r1318970 31 31 == Changelog == 32 32 33 = 1.0.1 = 34 Rewritten. 35 33 36 = 1.0 = 34 37 Initial release.
Note: See TracChangeset
for help on using the changeset viewer.