I got the following task:
– I want to add a function and an add_action to the functions.php of the current theme
– The function needs to be dynamically added to the functions.php whenever the main theme is changing
What’s the best way of doing this?
- The topic ‘Proper way of extending the plugin’ is closed to new replies.