Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    SQL query perhaps, but backup first.

    Could add this to theme functions.php, refresh a page, then remove the code. They will be gone.

    global $wpdb;
    $wpdb->delete( $wpdb->postmeta, array( 'meta_key' => '_purchase_note' ) );
    Thread Starter MTD

    (@espider)

    Hi Mike,

    Works like a charm in functions.php
    It saved me a lot of time.

    Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove/clear all Purchase Notes’ is closed to new replies.