Add custom fields in the SELECT clause for wp_query
-
I’m using filters: posts_join and posts_where to narrow my query results for specific pages and it works fine.
Now, I added a new table that joins with the wp_posts table (1 to 1 relationship) and I need to display some of the columns from this table on the screen.
I cannot find “posts_select” filter. Is there any? I couldn’t find anything like that in the docs.
Any help how to overcome this would be appreciated!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add custom fields in the SELECT clause for wp_query’ is closed to new replies.