Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Require the file that contains the GravityFormsShortcodeFinder class.
require_once plugin_dir_path( __FILE__ ) . 'src/GravityFormsShortcodeFinder.php';
// Find all the pages that contain the Gravity Forms with an ID of 36.
$pages_with_form = ( new Gravity_Forms_Shortcode_Finder( 36 ) )->find();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment