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; }
Expand full source code Collapse full source code View on Trac