Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Script [Solved] wpForo Actions & Filters

5 Posts
2 Users
0 Reactions
566 Views
MarcelDerAdmin
Posts: 37
Topic starter
(@marcelderadmin)
Trusted Member
Joined: 5 years ago

Hi im making a plugin and i want to catch wpForo Post Creations and Replies etc. Is there a list of actions and filters that can be used? I couldnt find any in the documentation. Maybe im just blind.

Cheers.

4 Replies
1 Reply
MarcelDerAdmin
(@marcelderadmin)
Joined: 5 years ago

Trusted Member
Posts: 37

Posted by: @marcelderadmin

Hi im making a plugin and i want to catch wpForo Post Creations and Replies etc. Is there a list of actions and filters that can be used? I couldnt find any in the documentation. Maybe im just blind.

Cheers.

 

ok i managed to find some but my new issue is that

WPF()->moderation->post_unapprove( $post_id );
is not unapproving the post and returns false even if i pass a post_id tho thats valid

 

Reply
MarcelDerAdmin
Posts: 37
Topic starter
(@marcelderadmin)
Trusted Member
Joined: 5 years ago

ok turns out i need to run my function before the main thing so i can edit request data to be status 1 then its held back for moderation

Reply
Posts: 101
(@kezeo)
Estimable Member
Joined: 8 years ago

you sell wpforo plugins ?

 

Reply
1 Reply
MarcelDerAdmin
(@marcelderadmin)
Joined: 5 years ago

Trusted Member
Posts: 37

@kezeo im currently making a plugin called automod and its mostly moderation and utility for free and i want to integrate wpforo stuff like topic and reply spam checks etc and profanity but its still in the review process

Reply