Date Format Issue
-
Hi there,
I’m involved with the maintenance of a clients website that uses Pods for displaying their blog posts and they’ve recently noticed that the format of the date has changes so that is now showing everything down to the second that the post was created. I’ve noticed that it seems to be an issue that has been flagged a few times but with it been the first time I’ve come across the plugin I thought I best get clarification on the solution.
Is it not possible to add the PHP function callbacks through the Pods Admin anymore? A few of the solutions I found mentioned this was how to fix it (by adding format_date) to this list but I can’t see an input field amongst the Display Callback settings in the admin area.
I have access to the codebase but currently the only mention of ‘pods_display_callbacks_allowed’ is in the access.php file within the plugin folder, is this okay to modify?
Current line$display_callbacks_allowed = pods_get_setting( 'display_callbacks_allowed', 'esc_attr,esc_html' );The website in question is quite large and has a lot of plugins installed so I thought it be best I run this past your support team before attempting a fix myself.
Thanks in advance.The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.