bbp_topic_notices

  • apply_filters( 'bbp_topic_notices', $notice_text, $topic_status, bbp_get_topic_id() ) )

    Source Reference:

    • Component: bbPress :: bbp-topic
      File: /bbp-includes/bbp-topic-template.php :: Trac Source Line: 2592
      			break;
      
      		// Standard status
      		default :
      			$notice_text = '';
      			break;
      	}
      
      	// Filter notice text and bail if empty
      	if ( !$notice_text = apply_filters( 'bbp_topic_notices', $notice_text, $topic_status, bbp_get_topic_id() ) )
      		return;
      
      	bbp_add_error( 'topic_notice', $notice_text, 'message' );
      }
      
      /**
       * Displays topic type select box (normal/sticky/super sticky)
       *
       * @since bbPress (r2784)
       *
      

Comments are closed.