Tag Info

New answers tagged

0

Use the WP database (via proper methods) to store a 'is this the first run' flag? Then just conditionally execute. check for flag in wp db if exist do nothing if not exist create me my menus dag nammit remember to set flag for next round so its only done once Something like that? If you need to regenerate then just flip the flag from within the code ...



Top 50 recent answers are included