[Upfront Builder] Adding custom php to functions.php

Hi, we\'re wondering if there is an option to add custom php to the functions.php file.

  • Katya Tsihotska

    Hi Joëlle Scholten

    Hope you're fine today!

    There is no such option at the moment. But you always can do this via FTP or at the WordPress Dashboard -> Appearance -> Editor page, but I don't recommend you to use the last way, as if the code you add will cause critical issues on your site, you won't be able to remove it through WordPress Dashboard as it could be no accessible. So the best way is using FTP/SFTP or cPanel.

    Also, as a workaround, I would recommend you using mu-plugins instead of the functions.php, in some cases this could be even safer. You can learn more about mu-plugins here:
    https://codex.wordpress.org/Must_Use_Plugins

    However, let's see other members' opinion on this and if it gets some more love from other members our developers can consider develop something like this in future.

    Kind regards,
    Katya

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.