Coding

Posts under the "Coding" category

WordPress user ID in SQL

WP Data Access version 5.2.3 adds a session variable containing the WordPress user ID to its database connections. This allows plugin users to access the WordPress user ID in SQL queries, database views, triggers, functions and procedures.Open the Query Builder and...

Add user input filter to where clause

Starting from version 3.1.5, the plugin allows to add a filter to a where clause based on user input: Add an argument to your request (supports POST and GET) Give your argument the name of your column prefixed with wpda_search_column_ ExampleAdds condition