File tree Expand file tree Collapse file tree
classes/suggested-tasks/providers/interactive Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ class Email_Sending extends Interactive {
4242 */
4343 protected $ is_dismissable = true ;
4444
45+ /**
46+ * The task priority.
47+ *
48+ * @var string
49+ */
50+ protected $ priority = 'high ' ;
51+
4552 /**
4653 * The popover ID.
4754 *
@@ -377,11 +384,11 @@ public function get_task_details( $task_id = '' ) {
377384 return [
378385 'task_id ' => $ task_id ,
379386 'title ' => $ this ->get_title (),
380- 'parent ' => 0 ,
381- 'priority ' => ' high ' ,
387+ 'parent ' => $ this -> get_parent () ,
388+ 'priority ' => $ this -> get_priority () ,
382389 'category ' => $ this ->get_provider_category (),
383390 'provider_id ' => $ this ->get_provider_id (),
384- 'points ' => 1 ,
391+ 'points ' => $ this -> get_points () ,
385392 'dismissable ' => $ this ->is_dismissable (),
386393 'popover_id ' => 'prpl-popover- ' . $ this ->popover_id ,
387394 'description ' => $ this ->get_description (),
You can’t perform that action at this time.
0 commit comments