get_hooks_javascript_code()
public static function get_hooks_javascript_code( $set_printed_prop=true )
Get the Javascript code from the gforms_hooks file and return it.
Since:
2.52.9.19(Added the $set_printed_prop param.)
Source: common.php:6420
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$set_printed_prop | bool | true | Optional. Indicates if GFFormDisplay::$hooks_js_printed should be set to true. |
Returns
false|string