To highlight a row you need to use the $highlight array
$highlight = array();
Then on each value you need to add the following information separated with commas:
- Column Name
- Conditional Operator
- Value
- Color (can be #HEX or RGBA color)
- Title of the selection
array_push($highlight,'PURCHASE_DATE,<,2020-01-01,RED,Before January 2020'); array_push($highlight,'PURCHASE_DATE,>=,2020-01-01,GREEN,After January 2020');