Data_easy_svg_pro_original

_easy_svg_pro_original

Post meta keeping the untouched original of an attachment or library icon before the SVG-Cleaner or repair rewrote it.

Option · Easy SVG Pro · Status: Internal · Defined in includes/audit/clean.php

Internal: not part of the promised public surface. It may change without notice.

Usage

get_post_meta( $attachment_id, '_easy_svg_pro_original', true )

Example

$has_original = '' !== (string) get_post_meta( $attachment_id, '_easy_svg_pro_original', true );

Description

Nothing is rewritten until the original is stored and read back. Only the first original is kept, so cleaning twice still leaves the untouched copy. Stored with the post, not as a file in uploads, so the unsafe bytes are never one guessed url away. Sets use _easy_svg_pro_set_original instead. Listed by GET easy-svg-pro/v1/audit/originals.

The stored bytes are the unsafe original. Never echo them into a page.