Need a little help with new bbPress plugin
Okay as the title says I need a little help finishing a small bbPress plugin.
Right now it checks each topic content against the bbPress topic-tags created from the back-end ( only those are assigned not empty tags ) and if there are matches between the tags and content it echo’s those matches found.
The only deal-breaker here is how to add those matches found the $word Variable to each topic tags when you create a new topic or edit a topic fron the front-end.
I believe you have to work with those two actions:
add_action( 'bbp_new_topic', 'function_name', 10, 5 ); add_action( 'bbp_edit_topic', 'function_name', 10, 5 );
But how do you make the connection to the database table or how it’s called.
This is the code I already made.
This Plugin was an idea because of this topic.
Some help from anybody who knows PHP and creating WP Plugins would be very cool.
- You must be logged in to reply to this topic.