Skip to main content
All CollectionsWrk Action LibraryWordPress
Retrieve all posts from WordPress
Retrieve all posts from WordPress
Wrk Product avatar
Written by Wrk Product
Updated over 2 months ago

Retrieve all posts from WordPress.

Application

  • WordPress

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Connected account

The connected account to use for the request

Connected Account

Yes

Return all?

Whether to return all results or only up to a given limit

True/False

No

Limit

Max number of results to return

Number

No

After

Limit response to posts published after a given ISO8601 compliant date

Datetime

No

Author ID 1

Limit result set to posts assigned to a specific author

Text (Short)

No

Author ID 2

Limit result set to posts assigned to a specific author

Text (Short)

No

Author ID 3

Limit result set to posts assigned to a specific author

Text (Short)

No

Before

Limit response to posts published before a given ISO8601 compliant date

Datetime

No

Category ID 1

Limit result set to all items that have the specified term assigned in the categories taxonomy

Text (Short)

No

Category ID 2

Limit result set to all items that have the specified term assigned in the categories taxonomy

Text (Short)

No

Category ID 3

Limit result set to all items that have the specified term assigned in the categories taxonomy

Text (Short)

No

Context

Scope under which the request is made; determines fields present in response

Predefined Choice List

No

Exclude categories 1

Limit result set to all items except those that have the specified term assigned in the categories taxonomy

Text (Short)

No

Exclude categories 2

Limit result set to all items except those that have the specified term assigned in the categories taxonomy

Text (Short)

No

Exclude categories 3

Limit result set to all items except those that have the specified term assigned in the categories taxonomy

Text (Short)

No

Exclude tags 1

Limit result set to all items except those that have the specified term assigned in the tags taxonomy

Text (Short)

No

Exclude tags 2

Limit result set to all items except those that have the specified term assigned in the tags taxonomy

Text (Short)

No

Exclude tags 3

Limit result set to all items except those that have the specified term assigned in the tags taxonomy

Text (Short)

No

Order

Order sort attribute ascending or descending

Predefined Choice List

No

Order by

Sort collection by object attribute

Predefined Choice List

No

Search term

Limit results to those matching a string

Text (Short)

No

Status

The status of the post

Predefined Choice List

No

Sticky?

Whether to limit the result set to items that are sticky

True/False

No

Tag ID 1

Limit result set to all items that have the specified term assigned in the tags taxonomy

Text (Short)

No

Tag ID 2

Limit result set to all items that have the specified term assigned in the tags taxonomy

Text (Short)

No

Tag ID 3

Limit result set to all items that have the specified term assigned in the tags taxonomy

Text (Short)

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

JSON Output

JSON output returned by the API

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Requirements

  • N/A

Did this answer your question?