Tag Archives: Clean Options

Understanding Clean Options

What options does the Clean Options plugin catch? To understand what the Clean Options plugin does, an explanation of how it gathers WordPress options may be helpful.
The plugin searches the blog folders for PHP files. It searches these files for occurrences of get_option and get_settings using the regular expression
"#get_(?:option|settings)[ ]?\([ ]?[\'\"]([-\w]+)[\'\"][ ]?\)#"
This will match common [...]