Dataeasy_svg_uninstall_site()

easy_svg_uninstall_site()

Removes the plugin's icons, cache and options from the current site on uninstall.

Function · Easy SVG · Status: Internal · Defined in uninstall.php

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

Usage

easy_svg_uninstall_site(): void

Example

// Runs only when the plugin is deleted from the Plugins screen.

Description

Defined only in uninstall.php. Deletes esw_icon posts in batches of 100 (at most 1000 rounds), then easy_svg_icons, easy_svg_5_notice, easy_svg_icons_version, easy_svg_settings and easy_svg_schema. On multisite it runs for every site. Uploaded SVG attachments stay.