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

Applying filter_control_value on custom controls. #22

Open
jaredstander opened this issue May 3, 2023 · 0 comments
Open

Applying filter_control_value on custom controls. #22

jaredstander opened this issue May 3, 2023 · 0 comments

Comments

@jaredstander
Copy link

In the base plugin I've noticed that a new method has been added for controls called filter_control_value that can be used to transform output of that control to streamline and replace some of the existing output transformation filters. I'm noticing that when I declare this in the custom control in the same way it's declared in the control classes in the base plugin, it doesn't seem to be running this function. I also tried to add_filter for filter_control_value in the __construct method of the custom control similar to how it is in _base and also did not observe the function influencing the output. Can custom controls use filter_control_value?

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