开发者 |
algoritmika
karzin anbinder wpcodefactory omardabbas kousikmukherjeeli |
---|---|
更新时间 | 2024年3月28日 03:41 |
PHP版本: | 5.0 及以上 |
WordPress版本: | 6.4 |
版权: | GNU General Public License v3.0 |
版权网址: | 版权信息 |
/wp-content/plugins/
directory.Visit "WooCommerce > Settings > Marketplace".
Vendor products filter - Filters Marketplace vendor products. It is only displayed on shop page.
If you are interested in contributing - head over to the Marketplace for WooCommerce plugin GitHub Repository to find out how you can pitch in.
You can do it through translate.wordpress.
[alg_mpwc_vendor_img]
: Vendor image, as store's logo or vendor gravatar, most probably used on Vendors > Product loop info > Info's content option. Shortcode params:
img_type
: Type of image returned. Values allowed: gravatar
or store_logo
.gravatar_size
: Size of image if img_type
is set as gravatar
.logo_style
: Image style if img_type
is set as store_logo
.vendor_id
: Id from vendor.post_id
: Id from product.alg_mpwc_loop_vendor_info_hook
: Manages where the vendor info, provided by the Vendors > Product loop info > Info's content option, will be displayed on product loop.
Default value:
woocommerce_after_shop_loop_item
Example 1:
add_filter( 'alg_mpwc_loop_vendor_info_hook', function ( $hook ) { $hook = 'woocommerce_before_shop_loop_item_title'; return $hook; } );
class-alg-mpwc-vendor-role.php
on line 433.alg_mpwc_send_commission_notification_email
filter.alg_mpwc_commission_notification_email_to
filter.textarea
.alg_mpwc_loop_vendor_info_hook_priority
to setup the priority hook where the vendor info will be displayed on product loop.alg_mpwc_loop_vendor_info_hook
to setup where the vendor info will be displayed on product loop.[alg_mpwc_vendor_img]
shortcode.alg_mpwc_post_types_allowed_to_vendor_on_admin
filter to manage the post types allowed to vendor on admin. Default to array( 'acf-field-group', 'acf-field' )
.[vendor_rating]
shortcode added.%vendor_id%
placeholder added.alg_mpwc_vendor_rating
to alg-mpwc-vendor-rating
).Alg_MPWC_Vendor_Role()
- manages_media_deleting()
- Fixed.webdevstudios/cmb2
replaced with cmb2/cmb2
autoload.php
removed from alg_mpwc_start_plugin()
.languages
to langs
.create_function()
calls removed.fix_empty_variation_product_price()
.refunded
(instead of need-refund
).