Skip to:
Content
Pages
Categories
Search
Top
Bottom

Email templates & folder locations

  • Profile photo of Hugo
    Hugo
    Moderator

    @hnla

    @DJPaul Paul is it possible to do something along the lines of

    `if( !file_exists( ABSPATH . ‘wp-content/uploads/dpw-templates/simplicity.php’) to have your plugin look first for the template folder in wp uploads first and use them if found before using plugin folder versions, it’s something I have worked with on a couple of largish plugins which had a few different template and custom files that could be added by users and just meant custom files were safe when upgrades ran through.

  • The topic ‘Email templates & folder locations’ is closed to new replies.