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

What would be the best way to debug hooks/filters? #188

Open
ju5t opened this issue Oct 17, 2017 · 1 comment
Open

What would be the best way to debug hooks/filters? #188

ju5t opened this issue Oct 17, 2017 · 1 comment

Comments

@ju5t
Copy link

ju5t commented Oct 17, 2017

For a project we need to store posts into a folder based on the category they are in. This needs to be a tree structure, e.g. categorya/categoryb. I've seen other people working on it by searching previous issues but unfortunately nobody has shared the final solution.

I know we can get there by using the filter for wpghs_directory_published but after that I'm a little lost. Primarily because I can't seem to get any debug data displayed.

It's been a while since I have worked with PHP so me not knowing how to code it can be a huge reason here. Some help on how to debug would be much appreciated though.

@mAAdhaTTah
Copy link
Owner

I unfortunately don't have a good answer for you besides just making the changes and testing them yourself.

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

No branches or pull requests

2 participants