Is there any way to use this with Tokens or dynamic fields? Seems like this would be a decent way to implement some kind of WP shortcode action - it would be pretty slick if the replacement field could handle function callbacks.

I'm trying to replace instances of [year] with the current year. With the current setup, it looks like i'll still have to update the replacement string each year. Is there any way to make this dynamic, like by inserting date('Y'); ?

Comments

robloach’s picture

Status: Active » Closed (works as designed)

Unfortunately no, there's no way to change calls like that. You'll have to issue a bug with the module using that and ask them to use Drupal's date translation stuff.