Actions12
Post → Get Many
AI-generatedSummary
Retrieve multiple WordPress posts with customizable filters and pagination, optionally including SEO metadata, FAQs, and CTA data.
Inputs
- Return All - returnAll — Boolean option to return all posts or limit the number of results.
- Limit - limit — Maximum number of posts to return if Return All is false (min 1, max 100).
- Additional Parameters - additionalParameters — Optional filters including Search Term (string), Status (published, draft, pending, private, future), Categories (comma-separated category IDs), Tags (comma-separated tag IDs), Page (number for pagination), Order By (date, title, modified date, ID), and Order Direction (ascending or descending).
- SEO Options - seoOptions.metadataValues.includeSeoMetadata — Boolean to include SEO metadata from the AI GROWTH - SEO WP plugin in the response.
- FAQ Options - seoOptions.faqValues.includeFaqs — Boolean to include FAQs in the returned post data.
- CTA Options - seoOptions.ctaValues.includeCta — Boolean to include Call to Action (CTA) information in the response.
Output shape
a list of post objects
The output contains an array of WordPress posts matching the applied filters and pagination parameters. Each post object includes standard post fields. If enabled, SEO metadata, FAQs, and CTA data are included. Pagination is controlled by the 'Page' and 'Limit' parameters unless 'Return All' is true, which retrieves all matching posts without pagination limits.