onPostLiked( )


A backend event that fires when a forum post is liked.

The onPostLiked() event handler runs when an existing forum post in your site is liked. The received LikedPost object contains information about the post that was liked.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventLikedPostRequired

Information about the forum post that was liked.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?