woocommerce_transient_file_contents_served

woocommerce_transient_file_contents_served

Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.2.3

do_action('woocommerce_transient_file_contents_served') is found 1 times:

  • /src/Internal/TransientFiles/TransientFilesEngine.php line 530
    			 * @param bool $is_json_rest_api_request True if the request came from the JSON API endpoint, false if it came from the authenticated endpoint.
    			 *
    			 * @since 8.5.0
    			 */
    			do_action( 'woocommerce_transient_file_contents_served', $file_name );
    		} catch ( Exception $e ) {
    			wc_get_logger()->error( "Error serving transient file $file_name: {$e->getMessage()}" );
    			// We can't change the response status code at this point.
    		} finally {
    			fclose( $file_handle );
    			$legacy_proxy->exit();