Action hook in functions.php

  • 007me

    #8276

    Hi,

    Is there a way to add action hook to functions.php?

    Or other ways to add snippets to the function.php so it will stay there also after theme upgrade?

    Udi

    Mod

    Kenneth John Odle

    #40841
    Quote:
    Is there a way to add action hook to functions.php?

    AFAIK, action hooks are embedded in theme files.

    Quote:
    Or other ways to add snippets to the function.php so it will stay there also after theme upgrade?

    Use a child theme. Child themes can have their own functions.php file.

    007me

    #40842

    I managed handling my issue with a specific plugin I’ve wrote.

Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.