register_post_type exclude_from_search argument not working June 1, 2022 by Tarik Billa Your exclude_from_search is currently inside your nested labels array. You need to move it up.