replace text with result of php script?

Search
Other Pre-Sale questions
Forum

replace text with result of php script?

Jason Crimmel's Avatar Jason Crimmel
I have been using the free version of rereplacer for many years... first off, THANK YOU!

I'm curious with the pro version if this PHP substitution would be possible: I would like it to find "ReplaceThisText" and replace it with the result of the below PHP script:

<?php
// Get the current date and time in the desired format
$currentDateTime = date('Y-m-d-H-i-s');

// Append the email domain to the date and time
$formattedDateTime = $currentDateTime . '@orionhfhsoftware.com';

// Output the result
echo $formattedDateTime;
?>


Output Example =
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, that is exactly what the PHP functionality in the Pro version is for 😊

See: docs4.regularlabs.com/rereplacer/going-further/replace-with-php
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in