Title: gregfr's Replies | WordPress.org

---

# gregfr

  [  ](https://wordpress.org/support/users/gregfr/)

 *   [Profile](https://wordpress.org/support/users/gregfr/)
 *   [Topics Started](https://wordpress.org/support/users/gregfr/topics/)
 *   [Replies Created](https://wordpress.org/support/users/gregfr/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/gregfr/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/gregfr/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/gregfr/engagements/)
 *   [Favorites](https://wordpress.org/support/users/gregfr/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Hook when user is logged in](https://wordpress.org/support/topic/hook-when-user-is-logged-in/)
 *  Thread Starter [gregfr](https://wordpress.org/support/users/gregfr/)
 * (@gregfr)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/hook-when-user-is-logged-in/#post-17093847)
 * Is seems it works with some roles, not with others… weird…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Hook when user is logged in](https://wordpress.org/support/topic/hook-when-user-is-logged-in/)
 *  Thread Starter [gregfr](https://wordpress.org/support/users/gregfr/)
 * (@gregfr)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/hook-when-user-is-logged-in/#post-17093777)
 * BTW, if I set “subscribers_only: true”, I have the “unavailable” message, even
   for logged in users…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Invoices for WooCommerce] Invoice or not based on Payment Gateway choice](https://wordpress.org/support/topic/invoice-or-not-based-on-payment-gateway-choice/)
 *  [gregfr](https://wordpress.org/support/users/gregfr/)
 * (@gregfr)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/invoice-or-not-based-on-payment-gateway-choice/#post-8159641)
 * Hello
 * I tried to use this filter ; the invoice is not generated when sending the email
   to the user, but it’s still generated when sending to the admin.
    The result 
   is, the invoice is nevertheless generated and available to the user…
 * be-woocommerce-pdf-invoices.php line 358
 * Is there a way to workaround that without changing the code?
 * Thanks in advance
 * greg
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Invoices for WooCommerce] Double save smashes existing invoice](https://wordpress.org/support/topic/double-save-smashes-existing-invoice/)
 *  Thread Starter [gregfr](https://wordpress.org/support/users/gregfr/)
 * (@gregfr)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/double-save-smashes-existing-invoice/#post-7516210)
 * OK I think I understand: although called by the same filter, the two function
   don’t apply to the same email type.
 * So it leaves the question above: Also why does it smashes an existing invoice
   if called a second time?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Invoices for WooCommerce] Double save smashes existing invoice](https://wordpress.org/support/topic/double-save-smashes-existing-invoice/)
 *  Thread Starter [gregfr](https://wordpress.org/support/users/gregfr/)
 * (@gregfr)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/double-save-smashes-existing-invoice/#post-7516199)
 * Also why does it smashes an existing invoice if called a second time?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login for Google Apps] Plugin detects wrong URL](https://wordpress.org/support/topic/plugin-detects-wrong-url/)
 *  Thread Starter [gregfr](https://wordpress.org/support/users/gregfr/)
 * (@gregfr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/plugin-detects-wrong-url/#post-6612675)
 * ok I found it: you have to actually set the WP_SITEURL in wp-config.php, it cannot
   detect it from url.

Viewing 6 replies - 1 through 6 (of 6 total)