![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/d064108d7d356f0daa23d3180efd1fa9-87a1c39.jpg)
Hi everybody,
what would be the best approach to remove the post image link?
beans_remove_action( 'beans_post_image_link' );
didn't do it so my guess is some sort of filter.
Any hint is appreciated.
All the best Marcel
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/ee0464443fa9842713a735791bbea859-87a1c39.jpg)
Hi Marcel,
To remove/change a piece of HTML markup from Beans, in this case the a
tag, you should use helper functions from Markup API.
If this 'beans_post_image_link'
is the ID of the link you want to remove, this will do the job:
beans_remove_markup( 'beans_post_image_link' );
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/d064108d7d356f0daa23d3180efd1fa9-87a1c39.jpg)
Hi Joseph,
thanks a lot. I know I used it before but I sometimes get confused on where to use what. Calls for a cheat sheet, haha.
All the best