Hi
Thanks for prompt response. I have added following codes in my theme’s functions.php
`<?php
add_shortcode( ‘table-user-filtered’, ‘tablepress_filtered_table’ );
function tablepress_filtered_table( $atts ) {
$current_user = wp_get_current_user();
$atts[‘filter’] = $current_user->user_login;
return tablepress_get_table( $atts );
}
?>
filter worked perfectly and I got my desired result, but an error message is showing below post in backend.
Call to undefined function tablepress_get_table() in functions.php:6 Stack trace: #0 wp-includes/shortcodes.php(343): tablepress_filtered_table(Array, ”, ‘table-user-filt…’) #1
[internal function]: do_shortcode_tag(Array) #2
wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(table\\…’, ‘do_shortcode_ta…’, ‘[table-user-fil…’) #3
themify-builder/classes/class-themify-builder-model.php(846): do_shortcode(‘[table-user-fil…’) #4
wp-includes/class-wp-hook.php(287): Themify_Builder_Model::format_text(‘[table-user-fil…’) #5
wp-includes/plugin.php(206): WP_Hook->apply_filters(‘[table-user-fil…’, Array) #6
wp-content/themes/them in functions.php on line 6
Am I missing something?
Regards
Rajiv
P.S.: I have tried to donate, but your payment gateway is not accepting payment from India. Can you provide any alternative?