Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

filter_default_option()

3 tags 1 category

filter_default_option() — Filters the default value for the option. For settings which register a default setting in register_setting(), this function is added as a filter to default_option_{$option}.

Inputs: $default_value (mixed): Existing default value to return. $option (string): Option name. $passed_default (bool): Was get_option() passed a default value?

Returns mixed: Filtered default value.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…