Vanilla::callback_topic_reply_count( int $count = 1 )

Verify the topic reply count.

Description

Parameters

$count

(Optional) Vanilla v2.x reply count

Default value: 1

Return

(string) WordPress safe

Source

File: bp-forums/admin/converters/Vanilla.php

	public function callback_topic_reply_count( $count = 1 ) {
		$count = absint( (int) $count - 1 );
		return $count;
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.