[Core] Create ignore/unignore function