woocommerce_customer_stock_notifications_personalization_enabled

woocommerce_customer_stock_notifications_personalization_enabled

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.2.2

apply_filters('woocommerce_customer_stock_notifications_personalization_enabled') is found 1 times:

  • /src/Internal/StockNotifications/Frontend/ProductPageIntegration.php line 240

    Warning: Undefined array key 242 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 243 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 244 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 245 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 *
    		 * @param bool $enabled Whether personalization is enabled.
    		 * @return bool
    		 */
    		return (bool) apply_filters( 'woocommerce_customer_stock_notifications_personalization_enabled', false );
    	}
    }