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

wpt/event/template/field/value filter is missing 5th param #335

Open
slimndap opened this issue Sep 5, 2024 · 0 comments
Open

wpt/event/template/field/value filter is missing 5th param #335

slimndap opened this issue Sep 5, 2024 · 0 comments

Comments

@slimndap
Copy link
Owner

slimndap commented Sep 5, 2024

The filter is defined over here:
https://github.com/slimndap/wp-theatre/blob/master/functions/wpt_event_template.php#L115

According to the inline docs there should be a 5th param $event, but the actual filter only has 4 params.

The $events param is essential when using the filter to base the output of an altered field value on an existing value of the event.

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

No branches or pull requests

1 participant