{"id":19791,"date":"2012-10-10T01:38:22","date_gmt":"2012-10-10T00:38:22","guid":{"rendered":"https:\/\/pl.wordpress.org\/support\/topic\/post-dodany-po-polnocy\/"},"modified":"2016-08-05T21:50:33","modified_gmt":"2016-08-05T21:50:33","slug":"post-dodany-po-polnocy","status":"closed","type":"topic","link":"https:\/\/pl.wordpress.org\/support\/topic\/post-dodany-po-polnocy\/","title":{"rendered":"Post dodany po p\u00f3\u0142nocy"},"content":{"rendered":"<pre><code>function filter_day( $where = &#039;&#039; ) {\n            $where .= &quot; AND post_date_gmt &gt; &#039;&quot; . date(&#039;Y-m-d H:i:s&#039;, strtotime(&#039;-1 day &#039;)) . &quot;&#039;&quot;;\n            return $where;\n}<\/code><\/pre>\n<p>Mam taki kod, jak zrobi\u0107 \u017ceby post dodawa\u0142o po p\u00f3\u0142nocy a nie po 24 godzinach dopiero?<\/p>\n","protected":false},"template":"","class_list":["post-19791","topic","type-topic","status-closed","hentry","topic-tag-limit-post"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19791\/revisions"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}