anspress_activation()

Description #

Register hooks that are fired when the plugin is activated or deactivated.

When the plugin is deleted, the uninstall.php file is loaded.

Source #

File: anspress-question-answer.php

function anspress_activation() {
	require_once __DIR__ . '/activate.php';
	\AP_Activate::get_instance();
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment