comments_where Hook
-
is there a similar replacement of the hook posts_where for comments?
I need to modify the where clause for a comments query like it is shown in this tutorial (“4. Sub custom field values”) for posts.
The only hook I found is comments_pre_query, but the property$query->meta_query_clauses[ 'where' ]
is protected.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘comments_where Hook’ is closed to new replies.