Copyright Footer - Auto change year
The copyright footer text is currently changed by customising the site identity information.
I would like to have the year automatically update using a script - as used in my HTML sites.
What would be the relevent code to use in a PHP snippet to replace the current text "© Simon Harding Media 2022 | All Rights Reserved" with "<p>Copyright © <script>document.write(new Date().getFullYear())</script> Simon Harding Media | All Rights Reserved</p>"