bbp_unstick_topic

bbp_unstick_topic

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_unstick_topic') is found 1 times:

  • /includes/topics/functions.php line 3332
    	$forum_id = empty( $super ) ? bbp_get_topic_forum_id( $topic_id ) : 0;
    	$stickies = bbp_get_stickies( $forum_id );
    	$offset   = array_search( $topic_id, $stickies );
    
    	do_action( 'bbp_unstick_topic', $topic_id );
    
    	// Nothing to unstick
    	if ( empty( $stickies ) ) {
    		$success = true;
    
    	// Topic not in stickies