Leave contact notes out of comment queries outside wp-admin.
Covers comment lists, the Recent Comments widget and the REST API. EPL's own contact screens ask for notes by contact (meta key epl_contact_id) and still get them.
| Since | |
|---|---|
3.6 |
Added: contact notes and activities showed in public comment lists. |
| Parameters | |||
|---|---|---|---|
array
|
$clauses |
The query clauses. |
# |
WP_Comment_Query
|
$query |
The comment query. |
# |
| Returns | |
|---|---|
array
|
|