Skip to content

Instantly share code, notes, and snippets.

@andreiglingeanu
Created February 14, 2024 08:23
Show Gist options
  • Save andreiglingeanu/48bc4f6cbdfacd0a61c5bfdbc7876e87 to your computer and use it in GitHub Desktop.
Save andreiglingeanu/48bc4f6cbdfacd0a61c5bfdbc7876e87 to your computer and use it in GitHub Desktop.
<?php
add_action(
'init',
function () {
global $wpdb;
$wpdb->query(
"
DELETE
FROM {$wpdb->postmeta}
WHERE meta_key = 'blocksy_post_meta_options'
"
);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment