onPostUnliked( )


An event that is triggered when a post is unliked.

The onPostUnliked() event handler runs when a post is unliked. The received PostUnlikedEvent object contains the postId of the unliked post.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventPostUnlikedEvent

Information about the unliked post.

Errors

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

Did this help?