bbp_get_topic_close_link

bbp_get_topic_close_link

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_topic_close_link') is found 1 times:

  • /includes/topics/template.php line 2598
    		$uri     = wp_nonce_url( $uri, 'close-topic_' . $topic->ID );
    		$retval  = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" class="bbp-topic-close-link">' . $display . '</a>' . $r['link_after'];
    
    		// Filter & return
    		return apply_filters( 'bbp_get_topic_close_link', $retval, $r, $args );
    	}
    
    /**
     * Output the approve link of the topic
     *
     * @since 2.6.0 bbPress (r5504)