BP_Group_Extension::check_nonce( string $context = '' )

Check the nonce on a submitted settings form.

Description

Parameters

$context

(Optional) Screen context. 'create', 'edit', or 'admin'.

Default value: ''

Source

File: bp-groups/classes/class-bp-group-extension.php

	public function check_nonce( $context = '' ) {
		check_admin_referer( 'bp_group_extension_' . $this->slug . '_' . $context, '_bp_group_' . $context . '_nonce_' . $this->slug );
	}

Changelog

Changelog
Version Description
BuddyPress 1.8.0 Introduced.

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.