Changed source root directory

This commit is contained in:
2026-03-05 16:30:11 +01:00
parent dc85447ee1
commit 538f85d7a2
5868 changed files with 749734 additions and 99 deletions

View File

@@ -0,0 +1,15 @@
<?php if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
$bodhi_options_on_deletion = get_option( 'bodhi_svgs_settings' );
if ( isset($bodhi_options_on_deletion[ 'del_plugin_data' ]) && $bodhi_options_on_deletion[ 'del_plugin_data' ] === 'on' ) {
// Delete plugin options
delete_option( 'bodhi_svgs_plugin_version' );
delete_option( 'bodhi_svgs_settings' );
// Delete all post meta related to SVG Support
global $wpdb;
$wpdb->delete($wpdb->postmeta, array('meta_key' => 'inline_featured_image'));
}