Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for post type archives in association field #540

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zevilz
Copy link

@zevilz zevilz commented Jun 3, 2018

Added support for post type archives in association field.

Example:

Field::make( 'association', 'crb_association' )
    ->set_types( array(
        array(
            'type' => 'post_type_archive',
        ),
    ) )

Post type archives stored in database like below:
post_type_archive:post_type_archive:post_type_name

04-06-2018 01-33-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant