Last Updated on: October 31, 2020

Display Last Modified Date in WordPress [PHP Snippet]

0 Shares

If you looking for a way to display the Last Modified Date of a page instead of or along with the Published Date then this tiny piece of snippet would register a function for that and you could easily show the last updated date on your pages.

/* Advanced Scripts Method to Add This Snippet */
/*

function syncwin_display_last_modified_date( ) {
return get_the_modified_time('F j, Y');
}
0 Shares
SyncWin Logo
SyncWin is a dedicated place to explore the Content, Discussions, & Useful Details around topics like Business, Technology, and Lifestyle to help you learn and grow in your life.
About Us
Made with ❤ for WinSyncers
Copyright © 2018 - 2024 by SyncWin | All Rights Reserved.

🍪 Cookie Settings
crossarrow-right
0 Shares
Copy link