? use spreadsheet like database and ? d like to filter with member logged in.
For the second time, again, to do this, you need to use a filter function such as provided by the gdoc_table_html
filter. What you’re trying to do is specific to your use case, not suitable for a plugin option, so I will not be adding one.
However, a more direct way to enable functionality like this that I do like is to use a filter to programmatically generate the query
parameter itself. So, if you update to 0.8.7 and use the gdoc_query
filter, you will be able to do something like this from your functions.php
file:
function my_special_query ($query, $atts) {
if ($atts['key'] == 'ABCDEFG') {
// change $query to be whatever you want,
// using whatever data from your WordPress site that you want.
}
return $query;
}
add_filter('gdoc_query', 'my_special_query', 10, 2);