Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 267 Bytes

File metadata and controls

9 lines (7 loc) · 267 Bytes

Headless Export Workflow

Use paginated reads to export public content without loading a large site into memory.

foreach ($wp->posts()->cursor(['per_page' => 100, 'status' => 'publish']) as $post) {
    // Write the DTO payload to your export target.
}