WordPress.org

Making WordPress.org

Changeset 3727


Ignore:
Timestamp:
07/26/2016 07:30:45 PM (5 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Add mentorship dashboard.

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-loader.php

    r3133 r3727  
    5454            require_once ( WCPT_DIR . 'wcpt-admin.php' );
    5555            require_once ( WCPT_DIR . 'wcpt-wordcamp/wordcamp-admin.php' );
     56            require_once ( WCPT_DIR . 'mentors/dashboard.php' );
    5657        }
    5758    }
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-loader.php

    r3567 r3727  
    246246
    247247    /**
     248     * Get the statuses where camps should have a mentor
     249     *
     250     * @return array
     251     */
     252    public static function get_mentored_post_statuses() {
     253        return array_merge(
     254            array( 'wcpt-needs-pre-plann' ),
     255            self::get_pre_planning_post_statuses(),
     256            self::get_public_post_statuses()
     257        );
     258    }
     259
     260    /**
    248261     * Get the milestones that correspond to each status
    249262     *
Note: See TracChangeset for help on using the changeset viewer.