customize_save_response

customize_save_response

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('customize_save_response') is found 1 times:

  • /wp-includes/class-wp-customize-manager.php line 2611
    2607
    2608
    2609
    2610
    2611
    2612
    2613
    2614
    2615
    2616
    2617
    * @param array                $response Additional information passed back to the 'saved'
     *                                       event on `wp.customize`.
     * @param WP_Customize_Manager $manager  WP_Customize_Manager instance.
     */
    $response = apply_filters( 'customize_save_response', $response, $this );
     
    if ( is_wp_error( $r ) ) {
        wp_send_json_error( $response );
    } else {
        wp_send_json_success( $response );
    }