PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
dc-woocommerce-multi-vendor
/
classes
<?php /** * WCMp Widget Init Class * * @version 2.2.0 * @package WCMp * @author WC Marketplace */ class WCMp_Widget_Init { public function __construct() { add_action('widgets_init', array($this, 'product_vendor_register_widgets')); add_action('wp_dashboard_setup', array($this, 'wcmp_rm_meta_boxes')); } /** * Add vendor widgets */ public function product_vendor_register_widgets() { include_once ('widgets/class-wcmp-widget-vendor-info.php'); require_once ('widgets/class-wcmp-widget-vendor-list.php'); require_once ('widgets/class-wcmp-widget-vendor-quick-info.php'); require_once ('widgets/class-wcmp-widget-vendor-location.php'); require_once ('widgets/class-wcmp-widget-vendor-product-categories.php'); require_once ('widgets/class-wcmp-widget-vendor-top-rated-products.php'); register_widget('DC_Widget_Vendor_Info'); register_widget('DC_Widget_Vendor_List'); register_widget('DC_Widget_Quick_Info_Widget'); register_widget('DC_Woocommerce_Store_Location_Widget'); register_widget('WCMp_Widget_Vendor_Product_Categories'); register_widget('WCMp_Widget_Vendor_Top_Rated_Products'); } /** * Removing woocommerce widget from vendor dashboard */ public function wcmp_rm_meta_boxes() { if (is_user_wcmp_vendor(get_current_vendor_id())) { remove_meta_box('woocommerce_dashboard_status', 'dashboard', 'normal'); } } }
[+]
..
[-] 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