Title: Orange's Replies | WordPress.org

---

# Orange

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/leegrant/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/leegrant/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor] Issues with emails being disabled](https://wordpress.org/support/topic/issues-with-emails-being-disabled/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/issues-with-emails-being-disabled/#post-15161841)
 * Hey Christian
 * I won’t be able to get the team to switch unfortunately as their other websites
   are using SendGrid, and it was a bit of bother getting the ok to use them.
 * I’ve tried the sendGrid option in this plugin [https://en-gb.wordpress.org/plugins/wp-mail-smtp/](https://en-gb.wordpress.org/plugins/wp-mail-smtp/)
   as mentioned, it works fine on the other site without profile builder active.
 * Is there a function I can use to disable the use of wp_mail() or something of
   similar sorts?
 * Thanks for the help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor] Issues with emails being disabled](https://wordpress.org/support/topic/issues-with-emails-being-disabled/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/issues-with-emails-being-disabled/#post-15157941)
 * Hello Christian,
 * Thank you for your response. Is there anyway around this so we can use SengGrid?
   I’ve spoken to the host and they’re not being entirely helpful at this stage.
   It’s a multisite and send works nicely with the sister site so we’d like to incorporate
   it into the site using profile builder too.
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Sensei LMS - Online Courses, Quizzes, & Learning] PHP warnings](https://wordpress.org/support/topic/php-warnings-119/)
 *  [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-119/#post-14927851)
 * Same issue here
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Sensei LMS - Online Courses, Quizzes, & Learning] Course shortcode classes](https://wordpress.org/support/topic/course-shortcode-classes/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/course-shortcode-classes/#post-14905062)
 * Thank you Cena,
 * For anybody who might need this:
 *     ```
       function sensei_lesson_classes( $classes, $class, $course_id ) {
   
       	$user_id = get_current_user_id();
       	if ( 'course' == get_post_type( $course_id ) && is_user_logged_in() ) {
   
       		if ( Sensei_Course::is_user_enrolled( $course_id, get_current_user_id() ) ) {
       			$classes[] = 'started-course';
       		}
       	}
   
       	return $classes;
   
       }
   
       add_filter( 'post_class', 'sensei_lesson_classes', 20, 3 );
       ```
   
    -  This reply was modified 4 years, 8 months ago by [Orange](https://wordpress.org/support/users/leegrant/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] REST API – Ordering by ACF Date field](https://wordpress.org/support/topic/rest-api-ordering-by-acf-date-field/)
 *  [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/rest-api-ordering-by-acf-date-field/#post-12820271)
 * Hi,
 * Did you ever figure this one out? I’m having the same issue at the moment.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Affiliates] Change affiliate rewards](https://wordpress.org/support/topic/change-affiliate-rewards/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/change-affiliate-rewards/#post-12452826)
 * Thanks for the help guys, that makes sense.
 * There is another issue I’m having. When you register to be an affiliate you just
   get a generic email sent with a thanks for joining the website and a password.
   Can I edit this email?
 * I also tested when you approve an affiliate they don’t get any welcome email 
   etc with a link to their dashboard so there wasn’t any real notification to the
   user on what to do.
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Affiliates] Check if user is affiliate](https://wordpress.org/support/topic/check-if-user-is-affiliate/)
 *  [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/check-if-user-is-affiliate/#post-12427068)
 * Yes please I’d like to know this also.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscriptions for WooCommerce] Customer charged twice](https://wordpress.org/support/topic/customer-charged-twice/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [8 years ago](https://wordpress.org/support/topic/customer-charged-twice/#post-10385766)
 * Thank you, ticket sent.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscriptions for WooCommerce] Customer charged twice](https://wordpress.org/support/topic/customer-charged-twice/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [8 years ago](https://wordpress.org/support/topic/customer-charged-twice/#post-10373741)
 * Hi there,
 * Thanks for the speedy response, I added a link image to the screenshot if that’s
   helpful.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Max Mega Menu] GCLID issue](https://wordpress.org/support/topic/gclid-issue/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/gclid-issue/#post-9756940)
 * Hi there,
 * Sorry jumped the gun slightly! Works great for top level nav items, but not for
   hard links added via custom html in the mega menu, I don’t suppose there is another
   filter for this?
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Max Mega Menu] GCLID issue](https://wordpress.org/support/topic/gclid-issue/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/gclid-issue/#post-9755858)
 * Brilliant, thank you very much for your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Max Mega Menu] GCLID issue](https://wordpress.org/support/topic/gclid-issue/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/gclid-issue/#post-9755285)
 * Hi Tom,
 * I’m currently using this plugin [https://wordpress.org/plugins/handl-utm-grabber/](https://wordpress.org/plugins/handl-utm-grabber/)
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geolocation IP Detection] Picking up incorrect location](https://wordpress.org/support/topic/picking-up-incorrect-location/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/picking-up-incorrect-location/#post-8209790)
 * For anybody having the same issue arise,
 * I had to check “The server is behind a reverse proxy” and add the servers IP 
   address manually and this resolved my issue.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PayPal for WooCommerce] No billing address](https://wordpress.org/support/topic/no-billing-address/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/no-billing-address/#post-7533895)
 * That’s awesome, thanks so much for your quick response!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Iptanus File Upload] wordpress_file_upload_functions.js?ver=4.4.1:2 Uncaught TypeError: Cannot read p](https://wordpress.org/support/topic/wordpress_file_upload_functionsjsver4412-uncaught-typeerror-cannot-read-p/)
 *  Thread Starter [Orange](https://wordpress.org/support/users/leegrant/)
 * (@leegrant)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/wordpress_file_upload_functionsjsver4412-uncaught-typeerror-cannot-read-p/#post-7018037)
 * Awesome, thanks.
 * I placed the shortcode outside of my form, then appended it with jQueryto an 
   empty div inside my form. All works well.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/leegrant/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/leegrant/replies/page/2/?output_format=md)