Created
February 12, 2021 06:01
-
-
Save digamber89/670e33037e05ad28bceec475634569a4 to your computer and use it in GitHub Desktop.
Zoom Integration for WooCommerce - Make Zoom Meeting visible by default
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
<?php | |
/** | |
* @param WC_Product $objProduct | |
*/ | |
function cm_set_zoom_product_visibility_to_shown_by_default($objProduct){ | |
$objProduct->set_catalog_visibility('visible'); | |
} | |
add_action('vczapi_before_new_zoom_product_saved','cm_set_zoom_product_visibility_to_shown_by_default'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment