Auto Affiliate Link and Call Functions
-
I was planning on using a plugin called Auto Affiliate Link because it can change all instances of a keyword on a page to a specific link.
https://wordpress.org/plugins/wp-auto-affiliate-links/
However it does not work with buddypress. I asked the developer and this was his response
“Right now, we are replacing links by adding a filter to the_content function. This function is called when a blog post, page, or any other custom post is displayed.
Unfortunately, buddypress don’t work this way. There is different function call for every profile field.”
So my question is, What functions would I need to specify the filter to be applied to?
This is the current code for the_content call
add_filter('the_content', 'wpaal_add_affiliate_links',5);In theory would I just add more filters and replace the_content with the other call functions?
- The topic ‘Auto Affiliate Link and Call Functions’ is closed to new replies.