bbp_get_default_user_options()

Get the default user options and their values


Description Description


Return Return

(array) Filtered user option names and values


Top ↑

Source Source

File: includes/users/options.php

function bbp_get_default_user_options() {

	// Filter & return
	return (array) apply_filters( 'bbp_get_default_user_options', array(
		'_bbp_last_posted' => '0', // For checking flooding
		'_bbp_topic_count' => '0', // Total topics per site
		'_bbp_reply_count' => '0'  // Total replies per site
	) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.