Filter Hooks
-
I can’t get the wpfai_array_filter to work. I think the problem is that portion of the plugin loads before my functions.php so that hook never calls my function. wpfai_output_filter works great. I really appreciate that you added those hooks. Is there something I’m missing with wpfai_array_filter?
I ended up working around the issue by manipulating the output. I had two things I needed to do:
1. Add a permalink icon to the array (I used fa-link).
2. Add the social icons to a list of posts. I’m using the always essential List Category Posts plugin to generate lists of posts. I added the template tag to my List Category Posts template but it added the post ID of the parent post instead of the posts I was listing. So I took the output and replaced the parent IDs in the links with the post IDs I was listing. It would really be nice if I could pass my post ID to the template tag.Thanks for a great plugin. Just to be clear, I have working code so you can make what you will of all this and I have no urgent questions.
The topic ‘Filter Hooks’ is closed to new replies.