bsf_get_white_lable_product_name( string $product_id, string $product_name )

Get white labled for product name.


Description


Parameters

$product_id

(string) (Required) Product ID.

$product_name

(string) (Required) Product Name.


Return

(string) Product name.


Source

File: admin/bsf-core/includes/helpers.php

function bsf_get_white_lable_product_name( $product_id, $product_name ) {
	$white_label_name = apply_filters( "bsf_product_name_{$product_id}", $product_name );
	return ! empty( $white_label_name ) ? $white_label_name : $product_name;
}


User Contributed Notes

You must log in before being able to contribute a note or feedback.