customize_save_validation_before

customize_save_validation_before

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('customize_save_validation_before') is found 1 times:

  • /wp-includes/class-wp-customize-manager.php line 2779
    2775
    2776
    2777
    2778
    2779
    2780
    2781
    2782
    2783
    2784
    2785
    * @since 4.6.0
     *
     * @param WP_Customize_Manager $manager WP_Customize_Manager instance.
     */
    do_action( 'customize_save_validation_before', $this );
     
    // Validate settings.
    $validated_values      = array_merge(
        array_fill_keys( array_keys( $args['data'] ), null ), // Make sure existence/capability checks are done on value-less setting updates.
        $post_values
    );