unset m=1
parameter values to null
abc.com/s=hotels&m=1
I have tried to unset using this code
function resetM() {
if( isset( $request['m'] )){
unset( $request['m'] );
}
return $request;
}
add_filter('resetM','request');
i want to &m=1
in url
but the value of m is set to null
can any one help me in this