Changeset 1435076
- Timestamp:
- 06/11/2016 08:40:29 PM (10 years ago)
- Location:
- disable-divi-projects/trunk
- Files:
-
- 2 edited
-
disable-divi-projects.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
disable-divi-projects/trunk/disable-divi-projects.php
r1318972 r1435076 4 4 Plugin URI: https://wordpress.org/plugins/disable-divi-projects/ 5 5 Description: Disable Divi Projects 6 Version: 1.0.16 Version: 2.0 7 7 Author: keyra 8 8 Author URI: http://pixelcoders.com … … 10 10 */ 11 11 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); 12 function et_pb_register_posttypes() {} -
disable-divi-projects/trunk/readme.txt
r1318971 r1435076 3 3 Tags: divi,divi projects, elegant themes, elegantthemes 4 4 Donate link: TBD 5 Requires at least: 4. 46 Tested up to: 4. 47 Stable tag: 1.0.15 Requires at least: 4.5.2 6 Tested up to: 4.5.2 7 Stable tag: 2.0 8 8 9 9 This plugin disables the project custom post type in Divi. … … 13 13 This plugin disables the project custom post type in Divi. 14 14 15 Compatible with WordPress 4. 4 and Divi 2.5.9.15 Compatible with WordPress 4.5.2 and Divi 2.7.5. 16 16 17 Tested with PHP 7.0. 1.17 Tested with PHP 7.0.7. 18 18 19 19 Tested with WordPress Multisite. … … 31 31 == Changelog == 32 32 33 = 2.0 = 34 Rewritten. 35 33 36 = 1.0.1 = 34 37 Rewritten.
Note: See TracChangeset
for help on using the changeset viewer.