Plugin Directory

Changeset 1435076


Ignore:
Timestamp:
06/11/2016 08:40:29 PM (10 years ago)
Author:
keyra
Message:

Version 2.0

Location:
disable-divi-projects/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • disable-divi-projects/trunk/disable-divi-projects.php

    r1318972 r1435076  
    44Plugin URI: https://wordpress.org/plugins/disable-divi-projects/
    55Description: Disable Divi Projects
    6 Version: 1.0.1
     6Version: 2.0
    77Author: keyra
    88Author URI: http://pixelcoders.com
     
    1010*/
    1111
    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);
     12function et_pb_register_posttypes() {}
  • disable-divi-projects/trunk/readme.txt

    r1318971 r1435076  
    33Tags: divi,divi projects, elegant themes, elegantthemes
    44Donate link: TBD
    5 Requires at least: 4.4
    6 Tested up to: 4.4
    7 Stable tag: 1.0.1
     5Requires at least: 4.5.2
     6Tested up to: 4.5.2
     7Stable tag: 2.0
    88
    99This plugin disables the project custom post type in Divi.
     
    1313This plugin disables the project custom post type in Divi.
    1414
    15 Compatible with WordPress 4.4 and Divi 2.5.9.
     15Compatible with WordPress 4.5.2 and Divi 2.7.5.
    1616
    17 Tested with PHP 7.0.1.
     17Tested with PHP 7.0.7.
    1818
    1919Tested with WordPress Multisite.
     
    3131== Changelog ==
    3232
     33= 2.0 =
     34Rewritten.
     35
    3336= 1.0.1 =
    3437Rewritten.
Note: See TracChangeset for help on using the changeset viewer.