Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function mycode_show_merchant_name_in_loop() {
global $product;
if ( !dfrpswc_is_dfrpswc_product( $product->get_id() ) ) {
return;
}
$dfr_product = dfrps_product( $product->get_id() );
printf( ' %s ', esc_html( $dfr_product['merchant'] ) );
}
add_action( 'rehub_vendor_show_action', 'mycode_show_merchant_name_in_loop', 5 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.