__woocommerce_hide_password_protected_products_main

The WooCommerce Hide Password Protected Products woocommerce hide password protected products main function.

Description

__woocommerce_hide_password_protected_products_main(); 

Usage

  1. if ( !function_exists( '__woocommerce_hide_password_protected_products_main' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-hide-password-protected-products/woocommerce-hide-password-protected-products.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = __woocommerce_hide_password_protected_products_main(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/woocommerce-hide-password-protected-products.php  
  1. function __woocommerce_hide_password_protected_products_main() {