PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
dc-woocommerce-multi-vendor
/
classes
<?php /** * WCMp Email Class * * @version 2.2.0 * @package WCMp * @author WC Marketplace */ class WCMp_University { private $post_type; public $dir; public $file; public function __construct() { $this->post_type = 'wcmp_university'; $this->register_post_type(); } /** * Register university post type * * @access public * @return void */ function register_post_type() { global $WCMp; if ( post_type_exists($this->post_type) ) return; $labels = array( 'name' => _x( 'Knowledgebase', 'post type general name' , 'dc-woocommerce-multi-vendor' ), 'singular_name' => _x( 'Knowledgebase', 'post type singular name' , 'dc-woocommerce-multi-vendor' ), 'add_new' => _x( 'Add New', $this->post_type , 'dc-woocommerce-multi-vendor' ), 'add_new_item' => sprintf( __( 'Add New %s' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ) ), 'edit_item' => sprintf( __( 'Edit %s' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor') ), 'new_item' => sprintf( __( 'New %s' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor') ), 'all_items' => sprintf( __( 'All %s' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ) ), 'view_item' => sprintf( __( 'View %s' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ) ), 'search_items' => sprintf( __( 'Search %a' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ) ), 'not_found' => sprintf( __( 'No %s found' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ) ), 'not_found_in_trash' => sprintf( __( 'No %s found in trash' , 'dc-woocommerce-multi-vendor' ), __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ) ), 'parent_item_colon' => '', 'all_items' => __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ), 'menu_name' => __( 'Knowledgebase' , 'dc-woocommerce-multi-vendor' ) ); $args = array( 'labels' => $labels, 'public' => false, 'publicly_queryable' => true, 'exclude_from_search' => true, 'show_ui' => true, 'show_in_menu' => current_user_can( 'manage_woocommerce' ) ? 'wcmp' : false, 'show_in_nav_menus' => false, 'query_var' => false, 'rewrite' => true, 'capability_type' => 'post', 'has_archive' => false, 'hierarchical' => true, 'supports' => array( 'title', 'editor' ), 'menu_position' => 15, 'menu_icon' => $WCMp->plugin_url.'/assets/images/dualcube.png' ); register_post_type( $this->post_type, $args ); } }
[+]
..
[-] class-wcmp-calculate-commission.php
[edit]
[+]
shipping-gateways
[+]
gateways
[-] class-wcmp-ajax.php
[edit]
[-] class-wcmp-cron-job.php
[edit]
[-] class-wcmp-vendor-order-page.php
[edit]
[-] class-wcmp-coupon.php
[edit]
[+]
widgets
[-] class-wcmp-vendor-dashboard.php
[edit]
[-] class-wcmp-shipping-gateway.php
[edit]
[-] class-wcmp-payment-gateways.php
[edit]
[-] class-wcmp-email.php
[edit]
[-] class-wcmp-user.php
[edit]
[-] class-wcmp-shortcode.php
[edit]
[-] class-wcmp-widget-init.php
[edit]
[-] class-wcmp-endpoints.php
[edit]
[-] class-wcmp.php
[edit]
[-] class-wcmp-vendor-details.php
[edit]
[-] class-wcmp-seller-review-rating.php
[edit]
[-] class-wcmp-capabilities.php
[edit]
[+]
reports
[-] class-wcmp-post-commission.php
[edit]
[+]
coupons
[-] class-wcmp-post-notices.php
[edit]
[+]
products
[-] class-wcmp-payment-gateway.php
[edit]
[-] class-wcmp-post-transaction.php
[edit]
[-] class-wcmp-report.php
[edit]
[-] class-wcmp-admin.php
[edit]
[-] class-wcmp-product-qna.php
[edit]
[+]
emails
[-] class-wcmp-taxonomy.php
[edit]
[-] class-wcmp-frontend.php
[edit]
[-] class-wcmp-template.php
[edit]
[-] class-wcmp-product.php
[edit]
[-] class-wcmp-post-university.php
[edit]
[-] class-wcmp-vendor-hooks.php
[edit]
[-] class-wcmp-library.php
[edit]
[+]
shortcode