Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter toffo

    (@toffo)

    Anyone got any ideas?

    Thread Starter toffo

    (@toffo)

    I finally figured it out myself.

    As I need to run my function after the DB link was completed, I used the following action hook;

    add_action('shutdown', 'runImageFunctions');

    That means, I don’t know if it means any bad things, that when the whole page is loaded and complete, even the DB link that creates the “_wp_attachment_metadata” row is complete.

    I can’t bother to explain in detail.. But that’s the story!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Run after "wp_generate_attachment_metadata"’ is closed to new replies.