Title: robguay's Replies | WordPress.org

---

# robguay

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Task Manager] Email Notifcation](https://wordpress.org/support/topic/email-notifcation/)
 *  Thread Starter [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/email-notifcation/#post-12474981)
 * In-conclusion I found that “Tasks” & “Comments” are found in the wp_Comments 
   table, Therefore, I was able to use WordPress functions to retrieve the data 
   I needed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Task Manager] Email Notifcation](https://wordpress.org/support/topic/email-notifcation/)
 *  Thread Starter [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/email-notifcation/#post-12474808)
 * Update:
 *     ```
       		$args = array(
       			'post_id' => $task->data['id'], 
       		);
       		$comments = get_comments( $args );
   
       		foreach ( $comments as $comment ) :
   
       		if (strpos($comment->comment_content, 'PAID') !== false) {
   
       			$body .= '<p>' . $comment->comment_author . ': ' . str_replace('PAID', '<span style="color: green;">PAID</span>', $comment->comment_content) . '</p>';
       			$subject .= '  ***PAYMENT RECEIVED***';
   
       		}else{
   
       			$body .= '<p>' . $comment->comment_author . ': ' . $comment->comment_content . '</p>';
   
       		}
   
       		endforeach;		
       ```
   
 * This is what I used to get Tasks and Comments
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Task Manager] Email Notifcation](https://wordpress.org/support/topic/email-notifcation/)
 *  Thread Starter [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/email-notifcation/#post-12462195)
 * PREFECT!!
 * Just one more thing, I had to use “strip_tags” to remove html tag in the title.
   Seems if you don’t first paste into a (utf-8 format) text editor then copy and
   paste into form, it will create or except html tags. Like <br>. Then again, was
   that the intent? If so, then when emailing the notification the subject line 
   can not have html tag in it. Example: before I did some adjusting.
 * `Task Manager: The task #3853 <p><span data-tt="{&quot;paragraphStyle&quot;:{&
   quot;alignment&quot;:4,&quot;style&quot;:0}}" style="white-space: pre-wrap;">
   Analytics</span></p>`
 * Now, using php “strip_tags” I get:
 * `Task Manager: Update to task #4078: Enlarge logo on mobile`
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Task Manager] Email Notifcation](https://wordpress.org/support/topic/email-notifcation/)
 *  Thread Starter [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/email-notifcation/#post-12461873)
 * Task version: 3.0.0
    WP: WordPress 4.6.1
 * Currently I am using a manual action to generate the email, which uses notify.
   action.php.
 * [Images of trigger I use to send notifications](https://redbarnnutrition.com/images/1.png)
 * [What I’d like the email to contain](https://redbarnnutrition.com/images/info.png)
    -  This reply was modified 6 years, 6 months ago by [robguay](https://wordpress.org/support/users/robguay/).
    -  This reply was modified 6 years, 6 months ago by [robguay](https://wordpress.org/support/users/robguay/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Task Manager] Email Notifcation](https://wordpress.org/support/topic/email-notifcation/)
 *  Thread Starter [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/email-notifcation/#post-12461241)
 * One more question:
    In code:
 * Task == Project
    Point == Task in Project Comment == comments in Task
 * Is this correct?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [CLI – Package install](https://wordpress.org/support/topic/cli-package-install/)
 *  Thread Starter [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cli-package-install/#post-11224053)
 * [https://make.wordpress.org/cli/handbook/common-issues/#php-fatal-error-allowed-memory-size-of-999999-bytes-exhausted-tried-to-allocate-99-bytes](https://make.wordpress.org/cli/handbook/common-issues/#php-fatal-error-allowed-memory-size-of-999999-bytes-exhausted-tried-to-allocate-99-bytes)
 * If you use cPanel
    cPanel >> Select PHP version >> Switch To PHP Options
 * change memory_limit –> 512M
 * SUCCESS
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’](https://wordpress.org/support/topic/1273-unknown-collation-utf8mb4_unicode_520_ci/)
 *  [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/1273-unknown-collation-utf8mb4_unicode_520_ci/page/2/#post-9164088)
 * alfatihg80
 * Thanks your solution worked for me!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery by 10Web - Mobile-Friendly Image Gallery] Edit photo gallery show more than 20 rows](https://wordpress.org/support/topic/edit-photo-gallery-show-more-than-20-rows/)
 *  Thread Starter [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/edit-photo-gallery-show-more-than-20-rows/#post-5385955)
 * Yes please, I would love to have the code.
 * THANKS
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Mobile URL Redirect] getting desktop view again from mobile view](https://wordpress.org/support/topic/getting-desktop-view-again-from-mobile-view/)
 *  [robguay](https://wordpress.org/support/users/robguay/)
 * (@robguay)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/getting-desktop-view-again-from-mobile-view/#post-4893529)
 * Hi nikki007
    Did you ever come up with a solution to your first post? I have 
   a customer with the same request.
 * Thanks

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