Delete meta data if fields are blank
-
Hi,
Just to let you know I ran into an issue with your plugin that was an easy fix. On line 236 of the importer.php file, you have the wrong delete hook.if( empty( $data[ $i ] ) ){
if( $empty_cell_action == “delete” )
delete_post_meta( $user_id, $headers[ $i ] );
elseIt should be delete_user_meta.
https://wordpress.org/plugins/import-users-from-csv-with-meta/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Delete meta data if fields are blank’ is closed to new replies.