woocommerce_coming_soon_exclude

woocommerce_coming_soon_exclude

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_coming_soon_exclude') is found 1 times:

  • /src/Internal/ComingSoon/ComingSoonRequestHandler.php line 164
    		 * @since 9.1.0
    		 *
    		 * @param bool $is_excluded If the request should be excluded from Coming soon mode. Defaults to false.
    		 */
    		if ( apply_filters( 'woocommerce_coming_soon_exclude', false ) ) {
    			return false;
    		}
    
    		// Check if the private link option is enabled.
    		if ( get_option( 'woocommerce_private_link' ) === 'yes' ) {
    			// Exclude users with a private link.