rest_json_encode_options

rest_json_encode_options

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('rest_json_encode_options') is found 1 times:

  • /wp-includes/rest-api/class-wp-rest-server.php line 258
    		 *
    		 * @param int $options             JSON encoding options {@see json_encode()}.
    		 * @param WP_REST_Request $request Current request object.
    		 */
    		return apply_filters( 'rest_json_encode_options', $options, $request );
    	}
    
    	/**
    	 * Handles serving a REST API request.
    	 *
    	 * Matches the current server URI to a route and runs the first matching