• Working on a plugin, and it needs to store a password in the Admin settings page that gets saved via update_option(key, value). This is not the only setting in the page, but it is the only setting that should not be shown in plain text (and possibly not be saved in plain text either) when viewing the source code of that page, after saving the settings page for this plugin.

    Does WordPress have a built-in function for handling passwords for plugins so that they don’t get shown, yet, it still shows the bullets in that field?

  • The topic ‘How to protect password from source code in a Plugin?’ is closed to new replies.