title: wordpress can't use header function inside a function
body: <p>am trying to redirect the page using a header location, but it seems using the header function inside a function causes the problem cannot modify header info, any ideas ?</p>
  
  <p>PS : i've already cleared white spaces, new lines and such things before asking</p>