Custom Field Filter by Role – WordPress

Change OR to AND

Where is your $current_user; variable?

I see it in your code, but not the value that it has.

Please update code

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)