customize_save_response

customize_save_response

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('customize_save_response') is found 1 times:

  • /wp-includes/class-wp-customize-manager.php line 2606
    		 * @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 );
    		}