Tablepress row filter using userid
-
Hi, I am very new to WordPress and only have a basic understanding so any help greatly appreciated. I have created a table in TablePress and have installed Row Filtering extension. The table has rows of data which apply to many users. The second column matches a users userid which is a 4 digit number. The row filter is working well when I use the command [table id=52 filter=”9999″ filter_columns=”2″ filter_full_cell_match=”true” /] where 9999 is the persons userid. My question is how do I obtain the userid for the particular user who is logged in and insert it into this code. I tried [table id=52 filter=get_current_user_id() filter_columns=”2″ filter_full_cell_match=”true” /] however no luck. Many thanks in advance.
The topic ‘Tablepress row filter using userid’ is closed to new replies.