How to change PWM frequency to custom value?

Hi all,
For a project purpose, my friend needs to predefine the frequency value of the PWM output. Please suggest basic code to adjust the same.

Note: The frequency he needs is 100khz, default showing 1000hz and 500hz in multiple pins.

Thank you

PWM Frequency Library