The configuration you’ve specified works in testing here. Please verify there is not an additional page builder causing conflicts, or specify what the unexpected output is.
Here were the situations I tested:
wp-config.php
These two lines were added to wp-config.php.
The first line corresponds to and overrides Display Callbacks option on WP Admin > Pods Admin > Settings — setting it to Customized (…).
The second line corresponds to Display Callbacks Allowed. Setting the list in wp-config.php causes a function name prefix to not be required.
define( 'PODS_DISPLAY_CALLBACKS', 'customized' );
define( 'PODS_DISPLAY_CALLBACKS_ALLOWED', 'format_pods_date,vertaal_leesverder');
functions.php
I tested these as specified and with minor modifications to verify output changed when placed in different locations. I tested them defined in a plugin and in the theme’s functions.php.
function format_pods_date( $input_date ) {
return date_i18n( 'j F Y', strtotime( $input_date ) );
}
function vertaal_leesverder($id) {
return __('Lees verder ...', 'project-name');
}
template
I tested this by extending the Post post type by adding a Date field named startdate.
In a default WordPress configuration with Gutenberg, I opened the default Hello World! post tested each of these in a shortcode block:
[pods]
{@startdate,format_pods_date}
{@ID,vertaal_leesverder}
[/pods]
…where the above would auto-detect name="post" and id="1" for the Hello World! post being viewed.
And with a named Pod template:
[pods template="Test 1"]
Where the Test 1 Pods template contained:
{@startdate,format_pods_date}
{@ID,vertaal_leesverder}
In both cases, the out was the expected:
6 September 2026
Lees verder …
…where the only difference was that the first version had the two items on separate lines due to WordPress post content formatting applying to the template, while the template="Test 1" version placed the date and Lees verder ... on the same line, because using a named template kept template formatting separate from post formatting.
Conclusion
- Check for page builders or other formatting filters which may be conflicting with output
- Try the named template version if template is being listed inline
- Try turning off other plugins, page builders, or switching to a default theme to rule out conflicting functionality