MemberPress: ACF – Exclude Protected Posts From ACF Repeater Field
function exclude_protected_memberpress_posts( $query ) { // Ensure we are not in the admin area and it’s the main query if ( ! is_admin() && $query->is_main_query() ) { // Check if we are on the repeater field context if ( function_exists(…Continue reading