Hooks/config

This hook processes posted data from the configuration form created by the config_form hook. Most use cases will involve setting configuration options to the database using set_option().

Both the config and config_form hooks must be used to creating a configuration form for a plugin.

Arguments

array $post {{#if
| (optional)}}
Submitted form data.
{{#if: | Default: {{{default}}}}}