Plugin Modification Change Functionality For Logged User Only
Yes, I think your quotes after the WHERE are backwards. Try it like this: …$fields.’ WHERE wp_users.ID=’.$current_user->ID ); The “WHERE wp_users.ID=” part is plain text that is intended to be part of the query, so it needs to be in quotes. The $current_user->ID is a variable that should live outside the quotes. If that doesn’t … Read more