EOT Time user data display

I’m trying to create a page that will allow a user to run dialog (through php) that will provide user id input and present the users EOT_Time (membership expiration).

It works fine with a shortcode (see image)

However when I create a php shortcode using snippets, the dialog shows, but returns “No set expiration date” when the same user id is entered,

Page seems to accept the snippets created shortcode.

Any help or guidance would be great!

Hi! There is a plugin “KC s2M log&Invoice”. One of features is a special shortcode that displays EOT date. To avoid problems like described, the plugin runs his own database. But, this means that the plugin will show correct info for events since installation.

Hope this helps…