Verify Hooks ran and returned values on load

Home Forums Quform WordPress Verify Hooks ran and returned values on load

This topic is: not resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33367
    jerkski
    Participant

    Hi there, I have a bit of a dilemmna. I have some hooks in my functions.php that run and return values on form load. They check the current user, looks up that user in the database, then return 5 variables to hidden fields. It works 98% of the time, but for whatever reason, whether it be server load, or response time from the database, the hooks sometimes do not return values to the hidden fields on load.

    Are there any ways to confirm if the hooks return values before allowing the the form to fully load? And if they do not populate the hidden fields, to have the form refresh?

    Or are there any other ways to combat this issue? I’ve already scaled up my web server and analyzed my php settings for best performance based on cores/ram.

    #33376
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #33398
    jerkski
    Participant

    I think I am going to try to limit any excessive scripts from loading on my form page first. I just noticed I have some js and ajax calls that don’t need to be there. I’ll reply back as soon as I know its looking better. Thanks Ally!

    • This reply was modified 3 years, 2 months ago by jerkski.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy