Created
December 10, 2020 17:55
-
-
Save yousufansa/3886c1dc0c492745953629c3a392eb14 to your computer and use it in GitHub Desktop.
Electro - WC Marketplace - Display Vendor Info On Deals Products
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ( ! function_exists( 'ec_child_display_sold_by_product_product_deal_product' ) ) { | |
| function ec_child_display_sold_by_product_product_deal_product() { | |
| if( class_exists( 'WCFMmp' ) ) { | |
| global $WCFMmp; | |
| add_action('electro_onsale_product_content', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 45 ); | |
| add_action('electro_onsale_product_carousel_content', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 35 ); | |
| add_action('electro_onsale_product_carousel_content_v2', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 55 ); | |
| add_action('electro_onsale_product_carousel_content_v3', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 125 ); | |
| } | |
| } | |
| } | |
| add_action( 'init', 'ec_child_display_sold_by_product_product_deal_product' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment