Skip to content

2.x missing timber/class/posts_iterator filter #2834

@philsbury

Description

@philsbury

Expected Behavior

In v1 we could use a custom PostIterator which was useful when working with things like Woocommerce products. We not longer seem to be able to do it. timber/class/posts_iterator should still allow developers to pass their own custom iterators

Actual behavior

timber/class/posts_iterator is not longer functional and not mentioned in the docs as being deprecated or removed

Steps to reproduce behavior

No response

Notes

No response

What version of Timber are you using?

2.0-rc-1

What version of WordPress are you using?

6.3.x

What version of PHP are you using?

PHP8.2

How did you install Timber?

Installed or updated Timber through Composer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions