After Import Actions
-
Hi @capuderg – I hope all is well! We (Divi child theme developers) are running into occasional issues. As per the documentation, we have set up a function in the child theme style sheet to set the Home page, which works great. But sometimes we have somebody who wants to change that (e.g. I just had someone who wants to create a “coming soon” page while the site is in development.) They change it in their WordPress settings, but then the funtion changes it back to the Home page that we set! We tell them to delete those lines from the functions.php to get around it – but I am wondering if there is another way to code it so that the “after import” functions would only run after the “Import Demo Data” button is pushed, rather than every time the site loads?
- The topic ‘After Import Actions’ is closed to new replies.