I have custom channel named
foo that is connected to the the members via safecracker and safecracker registration.
In a hook I am making, the member_id of a person is available to me.
Is there a way using SQL to get the entry_id in
channel_data table based on the member_id that I have?