-1, // everything 'post_status' => 'any', 'post_type' => 'post', 'order_by' => 'none', 'meta_query' => $meta_key, 'cache_results' => false, 'fields' => 'ids' ) ); foreach ( $all_posts as $post_id ) { delete_post_meta( $post_id, $meta_key ); } } if ( defined( 'WP_UNINSTALL_PLUGIN' ) ) angellist_uninstall(); ?>