# invoicing-quotes/2.0.8/includes/general-functions.php

Quotes Addon for GetPaid, version 2.0.8. 21 lines.

- Page: https://pluginprobe.com/plugins/invoicing-quotes/2.0.8/code/includes/general-functions.php
- Raw: https://pluginprobe.com/plugins/invoicing-quotes/2.0.8/raw/includes/general-functions.php
- Modified: 2021-01-18T13:00:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/invoicing-quotes/2.0.8/code/includes/general-functions.php#L10-L20`.

```php
<?php

/**
 * Function to send customer quote email notification to customer
 *
 * @since  1.0.0
 * @param int $quote_id ID of post/quote
 * @return bool $sent email sent or not
 */
function wpinv_user_quote_notification( $quote_id ) {

    $quote = new WPInv_Invoice( $quote_id );

    if ( ! $quote->is_quote() ) {
        return;
    }

    $GLOBALS['wpinv_quotes']->send_user_quote_email( $quote );

}

```
