woocommerce_customer_stock_notifications_account_required_message_html

woocommerce_customer_stock_notifications_account_required_message_html

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.2.2

apply_filters('woocommerce_customer_stock_notifications_account_required_message_html') is found 1 times:

  • /src/Internal/StockNotifications/Frontend/ProductPageIntegration.php line 148
    		 * @param string|null $pre The message.
    		 * @param WC_Product  $product Product object.
    		 * @return string|null The message.
    		 */
    		$pre = apply_filters( 'woocommerce_customer_stock_notifications_account_required_message_html', null, $product );
    		if ( ! is_null( $pre ) ) {
    			echo wp_kses_post( $pre );
    			return;
    		}
    
    		$text = __( 'Please {login_link} to sign up for stock notifications.', 'woocommerce' );