{"id":1242,"date":"2014-04-25T06:02:57","date_gmt":"2014-04-25T06:02:57","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/get_posts_by_author_sql\/"},"modified":"2026-08-20T01:32:02","modified_gmt":"2026-08-20T01:32:02","slug":"get_posts_by_author_sql","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/get_posts_by_author_sql\/","title":{"rendered":"get_posts_by_author_sql()"},"excerpt":{"rendered":"<p>Retrieves the post SQL based on capability, author, and type.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"wp-parser-source-file":[94],"wp-parser-package":[70,3],"wp-parser-since":[26,611],"class_list":["post-1242","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_post-php","wp-parser-package-post","wp-parser-package-wordpress","wp-parser-since-3-0-0","wp-parser-since-4-3-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/1242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-function"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=1242"}],"version-history":[{"count":2,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/1242\/revisions"}],"predecessor-version":[{"id":146626,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/1242\/revisions\/146626"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=1242"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=1242"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=1242"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=1242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}