{"id":16505733,"date":"2023-02-25T16:28:26","date_gmt":"2023-02-25T16:28:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/query-arg\/"},"modified":"2023-02-25T16:28:26","modified_gmt":"2023-02-25T16:28:26","slug":"query-arg","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/query-arg\/","title":{"rendered":"query arg"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I know I&#8217;ve touched on this before, but is there a query list of arguments for the WP_Query that return protected posts? I&#8217;m using a widget for elementor  that displays posts and it accepts custom query code. I just don&#8217;t know what code to put there because I&#8217;m a code novice. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Why use the widget? Because I can specify the styling of the returned posts, which honestly is the major drawback of this plugin. Thanks for listening Matt.<\/p>\n","protected":false},"template":"","class_list":["post-16505733","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16505733","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\/16505733\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16505733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}