Skip to content

Polylang: Add an option to add a non-public Pod to Polylang translation objects #4023

@JoryHogeveen

Description

@JoryHogeveen

When a CPT or Tax Pod is set to non-public it isn't visible for Polylang translation settings.

Todo:

  • Add an option to allow the user to hook them into the Polylang translation options. Ther is a simple filter hook available in Polylang to add them to the list.

@sc0ttkclark
Would you prefer this in Pods core or in the i18n component? I'm not sure...

If in core: I'd say put it in the PodsI18n class.
(And while we're at it, also put get_current_language() from PodsAPI in PodsI18n)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions