• Resolved Ameer

    (@itsmeameer)


    Hello,

    I’m looking for a method to just get the form title. I have the form ID, I’m just looking for a function that returns the title or better, the entire form object. Can you help with that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Tahmid ul Karim

    (@tahmidulkarim)

    Hello @itsmeameer,

    You can get the form title from the Form object, check here.

    You can check our developer documentation here to find all the available action and filter hooks.

    Thread Starter Ameer

    (@itsmeameer)

    This is not what I asked. I know I can get the form title from the form object. I said I only have the form ID (nothing else) and I need to get its title (or the entire object). I can write custom SQL to get the title directly from the database but I would prefer a functional approach.

    Plugin Support Alex Sanchez

    (@alexwpninja)

    You can use the following query,
    wpFluent()->table('fluentform_forms')->find($formId);
    It will return the form object.
    Thanks

    Thread Starter Ameer

    (@itsmeameer)

    This is what I was looking for. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Get Form Object by ID’ is closed to new replies.