Block users from posting links
Hi, I would like to be able to block all users except admin to posts links url in a topic, a posts or even a reply. I’ve tryed this, the only one that I found: https://bbpress.org/forums/topic/how-to-prevent-users-from-posting-url-links/
remove_filter( ‘bbp_get_reply_content’, ‘bbp_make_clickable’, 4 );
remove_filter( ‘bbp_get_topic_content’, ‘bbp_make_clickable’, 4 );
and this doesn’t seem to work when I add thoses lines in my functions php theme.
Anybody have an idea on how to make this works?
- You must be logged in to reply to this topic.