Читать книгу Professional WordPress Plugin Development - Brad Williams - Страница 49
ACTIVATE/DEACTIVATE FUNCTIONS
ОглавлениеWordPress provides standard activation and deactivation hooks that allow any plugin to run code when it is activated or deactivated, respectively. This section walks through how to use both.