@anas-ameziane said:
Is there any hook that get called before loading any pages ?
Yeah I tend to use this for example... before it loads, and then after.
Perhaps I'm way off lol.
Hey again.
I've spent a while messing around with many of the hooks and and templates trying to figure this out. We can already get the post count of a user with relative ease, but much of the information from the user object is missing from the user object that we access via {posts.user}
.
I was wondering if we could add fields from the main user object (the ones you'd see at /api/user/Person1
) to the other object (more specifically, if it is possible, which hooks I'd need to access and a general method).