Home › Forums › Backend Issues (wp-admin) › Relation filed search for published posts › Reply To: Relation filed search for published posts
Here is a little fix,
function alter_tribe_status( $args, $field, $post ){
$args[‘suppress_filters’] = 1;
return $args;
}
// filter for a specific field based on it’s key
add_filter(‘acf/fields/relationship/query/key=field_XXXXXXXXXX’, ‘alter_tribe_status’, 10, 3);
Listing is ok, search not fully operational.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.