Documentation

uninstall.php

Fired when the plugin is uninstalled.

Deletes all data and images associated with the plugin, but only if the site admin opted in via the deactivation-time prompt (WordPress only shows the "Delete" link for an already-inactive plugin, and never loads an inactive plugin's PHP, so this code cannot ask anything interactively at the actual moment of deletion). By default the plugin's data is left in place so it survives a reinstall.

Tags
see
Graphic_Data_Deactivation_Cleanup::ajax_set_uninstall_preference()
Graphic_Data_Deactivation_Cleanup::delete_all_data()
link
https://github.com/ioos/sanctuarywatch_graphicdata
since
1.0.0

Table of Contents

Constants

GRAPHIC_DATA_DATA_DIR  : mixed = \WP_CONTENT_DIR . '/data'

Constants

GRAPHIC_DATA_DATA_DIR

public mixed GRAPHIC_DATA_DATA_DIR = \WP_CONTENT_DIR . '/data'
On this page

Search results