wordpress-github-sync icon indicating copy to clipboard operation
wordpress-github-sync copied to clipboard

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

Open ju5t opened this issue 8 years ago • 1 comments

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.

ju5t avatar Oct 17 '17 18:10 ju5t

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

mAAdhaTTah avatar Feb 19 '18 17:02 mAAdhaTTah