Replies: 0
I am trying to follow
https://wordpress.org/support/topic/how-best-to-delete-the-plugin-with-everything-removed/
but this is not working for me
I executed the MYSQL code and it returned error on the phpadmin
I also created a script in mu-plugins
<?php
add_action( 'init', function() {
$deleted1 = delete_metadata( 'post', '', '_imagify_status', '', true );
$deleted2 = delete_metadata( 'post', '', '_imagify_optimization_level', '', true );
$deleted3 = delete_metadata( 'post', '', '_imagify_data', '', true );
if ( $deleted1 || $deleted2 || $deleted3 ) {
wp_cache_set( 'last_changed', microtime(), 'posts' );
}
})
?>
This also didn’t work as when I search for imagify in my phpmyadmin, I can still see
222 matches in wpstg0_postmeta
I would like to delete all reference and contents of Imagify.