Fix typo (wc-template-functions.php) (#50147)
* Update wc-template-functions.php * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce/includes/wc-template-functions.php --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Naman Malhotra <naman03malhotra@gmail.com>
This commit is contained in:
parent
771fd00e5d
commit
d2e9e982ec
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: tweak
|
||||
Comment: Fix typo (wc-template-functions.php)
|
||||
|
|
@ -240,8 +240,8 @@ function wc_set_loop_prop( $prop, $value = '' ) {
|
|||
* Set the current visbility for a product in the woocommerce_loop global.
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @param int $product_id Product it to cache visbiility for.
|
||||
* @param bool $value The poduct visibility value to cache.
|
||||
* @param int $product_id Product it to cache visibility for.
|
||||
* @param bool $value The product visibility value to cache.
|
||||
*/
|
||||
function wc_set_loop_product_visibility( $product_id, $value ) {
|
||||
wc_set_loop_prop( "product_visibility_$product_id", $value );
|
||||
|
|
Loading…
Reference in New Issue