Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marin Atanasov

    (@tyxla)

    Hello @igornn,

    There is no hook for that at this time, but you can do the following:


    // make the plugin instance globally accessible
    global $gravity_forms_multiple_form_instances;

    // remove the plugin functionality
    remove_filter('gform_get_form_filter', array($gravity_forms_multiple_form_instances, 'gform_get_form_filter'), 10);

    // display your form
    gravity_form(2);

    // add the plugin functionality back again
    add_filter('gform_get_form_filter', array($gravity_forms_multiple_form_instances, 'gform_get_form_filter'), 10, 2);

    and you can hook that on any of the built-in WordPress or Gravity Forms hooks that would suit your case.

    Please, let me know if you have further questions.

    Regards,
    Marin

    Thread Starter igornn

    (@igornn)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude some form id’ is closed to new replies.