Home / Documentation / Hooks Reference / Filters / age_gate_select_years
age_gate_select_years
Give the ability to change the lower end of the year select dropdown.
add_filter('age_gate_select_years', function($min_years){
return 1950;
});
Home / Documentation / Hooks Reference / Filters / age_gate_select_years
Give the ability to change the lower end of the year select dropdown.
add_filter('age_gate_select_years', function($min_years){
return 1950;
});
We use cookies to provide you with a better service. If you allow cookies without changing your settings, we'll assume that you are happy to receive all cookies on this website. However, you can change your cookie settings at any time.