Timeline for Change the date and time in wordpress
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 20, 2014 at 15:22 | history | edited | Will | CC BY-SA 3.0 |
typo
|
Jun 20, 2014 at 15:22 | comment | added | Will | it's pretty difficult for me to extrapolate what you are trying to accomplish by looking at that code sample. Experiment with the filter... | |
Jun 20, 2014 at 14:54 | comment | added | Tom | $date = date('F') | |
Jun 20, 2014 at 14:53 | comment | added | Tom | So, in this plugin I made pastebin.com/ZQisJMPQ, will the date return as the date specified in the add_filter? | |
Jun 20, 2014 at 14:52 | history | edited | Will | CC BY-SA 3.0 |
pics or it didn't happen
|
Jun 20, 2014 at 14:47 | comment | added | Will | It's not going to change the actual values stored in the database, but all the dates will be displayed as '03-21-85 11:11 PM'. The code posted should not be used without adding some conditional logic or other trickery, as it will likely break database updates if used as is. | |
Jun 20, 2014 at 14:29 | comment | added | Tom | Yes, but I don't think that would change every date in WordPress, would it? | |
Jun 20, 2014 at 10:45 | comment | added | Will | does the date_i18n filter snippet above not accomplish what you want? | |
Jun 20, 2014 at 3:15 | comment | added | Tom | Thank you for your response, I was looking for something that could take the php date function and return a specified date. | |
Jun 19, 2014 at 23:29 | history | edited | Will | CC BY-SA 3.0 |
added 246 characters in body
|
Jun 19, 2014 at 23:09 | history | answered | Will | CC BY-SA 3.0 |