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

Check the nonce on a submitted settings form.


Description Description


Parameters Parameters

$context

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

Default value: ''


Top ↑

Source 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 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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