Hi guys!
I have a pretty good addition for the ACF Pro plugin I think.
Right now I’m bumping into an issue where we have hundreds of posts to choose from in a post object field.
The only posts the user should be allowed to select are his own posts.
So basically I need to filter the post object selection field in the backend, by posts that are the current user’s own
can I do this myself or do I need to wait for an update on this?
http://www.advancedcustomfields.com/resources/acf-fields-post_object-query/
The arguments value is the same as that used for WP_Query http://codex.wordpress.org/Class_Reference/WP_Query
One warning though, if the post type is hierarchical then the displayed posts will can end up broken. As far as I know it will only work 100% of the time for non-hierarchical post types.
Awesome John!
sorry, might have done better research myself.
in my 5 minute search yesterday I could not find this hook!
glad it’s here!