• Resolved nonchiedercilaparola

    (@nonchiedercilaparola)


    is it possibile to use your plugin to add codes only on wp backend? can we use it to add codes as in functions.php how “Code snippets” wp plugin do?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello.

    To make the snippet run only on the backend use the following code in snippet:

    if(is_admin())
    {
    //do something only on backend
    }

    You can add code as in functions.php, but you may have to rewrite the code a bit.

    If you have any questions, please contact support, we will try to answer them.

    Thread Starter nonchiedercilaparola

    (@nonchiedercilaparola)

    so your plugin isn’t an alternative to “code snippets” we have to use both?

    The Woody plugin is an alternative to Code snippets. You can use it to add code to your site as in functions.php

    Thread Starter nonchiedercilaparola

    (@nonchiedercilaparola)

    thanks i start to test your plugins that seems to be more advanced than “code snippets”.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Add codes as in functions.php’ is closed to new replies.