Problem:
The user would like to filter orders by the day. Display the orders for a selected day.
Solution:
Toolset stores the dates and times as a number, it is the timestamp of the date or time. It is the date/time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
The view's datepicker will provide the day, at 00:00:00, configure the filter to look for a value that is greater than the provided filter value(from URL param). We'll still need to look if the posts are lower than the next day(22/12/2022 00:00:00).
Unfortunately, this will need some custom code to calculate it. Please check this similar thread https://toolset.com/forums/topic/between-dates/#post-1537199
Is it possible to add a button (or link) to a form, which set the date/time field to the NOW value?
Solution:
There isn't such kind of built-in feature within Toolset Forms plugin, As a workaround, you can setup the default value of date field inputs as timestamp value of now, for example:
Is it possible to create a custom shortcode to get the current user "role" and compare that to a string?
Eg. [get_logged_in_user_role] == "administrator"
Solution:
It is possible with Toolset Access plugin, for example:
Problem: I am experiencing an error when I try to add a custom image size in a View block. "Something went wrong on resizing the image".
Solution: This issue was resolved in a recent update of Views/Blocks. After updating, it may be necessary to recreate an image block where the problem was previously experienced.
Question: It seems that Access permissions like Edit Own are not enforced when calling update_post_meta, is that correct?
Answer: Yes, this is correct. Custom code implementations should utilize current_user_can to compare capabilities before calling update_post_meta, etc. directly.