Skip to main content

rgpost()

function rgpost( $name, $do_stripslashes=true )

Helper function to obtain POST values.

Since: 2.9.1 (Updated to use GFForms::post().)

Source: gravityforms.php:7064

Parameters

NameTypeDefaultDescription
$namestringThe key
$do_stripslashesbooltrueOptional. Performs stripslashes_deep. Defaults to true.

Returns

  • string — The value. If none found, empty string.