Dataeasy_svg_run_migration()

easy_svg_run_migration()

Runs the one-time 5.0 settings migration and arms the update notice.

Function · Easy SVG · Status: Internal · Defined in includes/settings.php

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

Usage

easy_svg_run_migration(): void

Example

remove_action( 'admin_init', 'easy_svg_run_migration' );

Description

Hooked on admin_init. Does nothing once easy_svg_schema holds 5.0. Otherwise seeds svg_upload for a site with SVGs and no settings, sets the easy_svg_5_notice transient and writes the schema marker.