Best method of checking if TML is active before running add_action of init?
-
You have this documentation: https://docs.thememylogin.com/article/93-removing-profile-fields
But it causes a PHP Fatal Error if adding it as a PHP function when the TML plugin is inactive. What is the best method of ensuring that only runs if TML plugin exists and is active?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Best method of checking if TML is active before running add_action of init?’ is closed to new replies.