Get access to the common class methods uses in the Gravity PDF plugin. You might use methods like
is_gfpdf_page() to check if the current page being loaded is a Gravity PDF page, or get the current Gravity PDF field class name based on the field type. There's more than 25 different methods to use, so we recommend reviewing the
src/helper/Helper_Misc.php file for full details.
This method was introduced in Gravity PDF 4.0.
\GFPDF\Helper\Helper_Misc | object
- The misc class
This snippet shows how to access our miscellaneous class and check if we're currently on a Gravity PDF admin page:
This method is located in
api.php, and the misc class can be found in