beans_post

Get value from $_POST.

beans_post( string $needle, mixed $default = null )

Return: (string) Value if found, $default otherwise.

Parameters

NameTypeRequiredDefaultDescription
$needlestringtrue-Name of the searched key.
$defaultmixedfalsenullValue returned if the searched key isn't found.

Source

function beans_post( $needle, $default = null ) {

	return beans_get( $needle, $_POST, $default );

}