As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Hello
Before rendering the table, I need the URL parameters (given by the form in the page). But if there are no parameters, we get an error message at the top of the page.
My question is: How can I render the table only if the parameters are in the URL (and therefore not get an error message)?
I've tried this code, but it doesn't work:
add_filter('wpdatatables_before_get_table_metadata', 'check_wpdatatables_mysql_error');
function check_wpdatatables_mysql_error($table_id) {
if ($table_id == 8 && !isset($_GET['service_depth'])) {
echo 'Error';
return null;
} else {
return $table_id;
}
}
Thanks in advance
Alexandre