{"id":8902020,"date":"2017-03-11T11:31:41","date_gmt":"2017-03-11T11:31:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/insert-date-into-upload-path\/"},"modified":"2017-03-11T11:31:41","modified_gmt":"2017-03-11T11:31:41","slug":"insert-date-into-upload-path","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/insert-date-into-upload-path\/","title":{"rendered":"Insert date into upload path"},"content":{"rendered":"<p>Hello,<br \/>\nis it possible to automatically insert date, ie date(&#8220;d-m-y&#8221;) into upload path ?<br \/>\nAt the moment, I added to the path a user field \/%username%\/%userdata2% with userdata2 being date. This works but I&#8217;d like to have the real date in the path instead of a date choosen by the user.<\/p>\n<p>Thanks for help.<br \/>\nJL<\/p>\n","protected":false},"template":"","class_list":["post-8902020","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8902020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8902020\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8902020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}