Edit: Ohh wait, you want to limit it only on the slider. I’ll leave the previous code maybe someone needs it in future. So just lose the add_filter and a small change to the function name for better descriptional purpose