Remove beans_post_image_link


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


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' );

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

Write a reply

Login or register to write a reply, it's free!