WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
642 | * the base slug of the setting name. |
643 | * |
644 | * For settings handled as theme_mods or options, see those corresponding |
645 | * functions for available hooks. |
646 | * |
647 | * @since 3.4.0 |
648 | * |
649 | * @param mixed $default The setting default value. Default empty. |
650 | */ |
651 | $value = apply_filters( "customize_value_{$id_base}", $value ); |
652 | } else if ( $this->is_multidimensional_aggregated ) { |
653 | $root_value = self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['root_value']; |
654 | $value = $this->multidimensional_get( $root_value, $this->id_data['keys'], $this->default ); |
655 | } else { |
656 | $value = $this->get_root_value( $this->default ); |
657 | } |
658 | return $value; |
659 | } |
660 |
|