...... 'meta_query' => array( array( 'key' => 'courses_offered', 'value' => '"' . get_the_ID() . '"', 'compare' => 'LIKE', // added the next 2 lines ), array( // what does this represent // those that are active or inactive // if you toggle the field on to make it inactive // then the value here should be 0 'key' => 'status', 'compare' => '==', 'value' => '1' ) )
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!
© 2022 Advanced Custom Fields.