To be honest, its a myth.
PMP® certification can help with salary hike, but it will ultimately depend on your potential.
Along with this, several other factors that can also affect include the country of employment, years of experience, and the size of the projects you have worked in, etc.
Hope this helps!