i found this i think it’s the right way
i used :
add_filter('removable_query_args', function($args) {
array_push($args, 'my_custom_arg');
return $args;
});
i found this i think it’s the right way
i used :
add_filter('removable_query_args', function($args) {
array_push($args, 'my_custom_arg');
return $args;
});