Allow users roles to stick the activities

Feel free to implement the following code snippet if you’d like to enable users with different roles, such as subscribers or editors, to stick the posts.

Update on September 15, 2023