Hi everyone,
User named A creates a topic. Then the user named B writes something on this topic. Here, the userid value can be accessed using the wpforo_post_approve hook.
However, this userid value may also belong to the topic owner. So, to user named A.
How do I distinguish this? Is there anyone to help?
Hi,
By utilizing the hook, you'll have access to the complete $post array, allowing you to view details such as the user ID of the topic creator.
Furthermore, we provide paid plugin customization and PRO support services. For assistance, please reach out to our team here:
Thank you for your answer. The content of the $post array is as follows. Which one here is the ID of the user who created the topic. The userid key indicates the user who replied to the topic.
Image