• Resolved George

    (@quantum_leap)


    Hello. I am trying to import a form’s json export programmatically, through the One Click Demo Import plugin. I am importing a child theme along with recommended plugins including Fluent Forms. I plan to do that through the ocdi/after_import hook provided by the plugin. I tried a few solutions but it didn’t work. Can you provide some info on how to achieve this? Do you provide an API for importing forms programmatically?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Amimul Ihsan

    (@amimulihsanmahdi)

    Hello @quantum_leap,

    Unfortunately, there aren’t any API available to import the form programatically. However, you can see the codebase to understand the form import feature. I have listed 2 paths below.

    1. Path: fluentform/app/Modules/Transfer/Transfer.php, function: importForms
    2. Path: fluentform/app/Services/Transfer/TransferService.php, function: importForms

    Thank you

    Thread Starter George

    (@quantum_leap)

    Hey, that helped a lot, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.