Sanitizing integer input for update_post_meta April 9, 2022 by Tarik Billa For integers KSES has no special function. Use (int) or intval() or absint() See more: Data Validation – Integers