Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Mark

Filter Options Applicable To Author

Hi, I have built a custom post type Bookings, I have limited users so they can only see post types they are authors of.

I have a column called ‘Class’ which is an ACF field and the user has the ability to filter posts by this ‘Class’ column.

The problem I am having is that by default Admin Columns Pro allows every user to filter their results by all the ‘Class’ results, however I want the dropdown to display the classes that relate to that user posts ONLY.

7 years ago
Tobias
Developer

Next release there will be a filter for the dropdown values for you to use.

add_filter( 'cac/addon/filtering/options', 'callback_function_name' );

This will allow you to make your own rules with a bit of PHP.

7 years ago

You must be logged in to reply to this topic.