Skip to:
Content
Pages
Categories
Search
Top
Bottom

Function to get Favorite and Subscribe link


  • tech55541
    Participant

    @tech55541

    Hello,
    I was wondering if there was a way to get the Favorite or Subscribe link. I would like to add them to a menu, this code is an example for the BBPress admin links, I need to add one more filter to grab the Favorite and Subscribe link if possible.

    add_filter('bbp_get_topic_admin_links', 'wpmudev_bbp_admin_links_in_menu', 10, 3);
    add_filter('bbp_get_reply_admin_links', 'wpmudev_bbp_admin_links_in_menu', 10, 3);
    add_action( 'wp_footer', 'overflow_overriding' );
    function overflow_overriding() {

    Any filters laying around for this I have not found yet?

    Thanks for your help. 🙂

Viewing 1 replies (of 1 total)

  • tech55541
    Participant

    @tech55541

    Hello,
    Also figured out this one, you can use these 2 functions.

    bbp_get_topic_subscription_link
    bbp_get_topic_favorite_link

    Thanks.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar