anspress_activation()

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

ap_form_{$name}

Filter Hook: Register a form in AnsPress.

AnsPress::form_exists()

Method: Check if a form exists in AnsPress, if not then tries to register.

AnsPress::get_form()

Method: Get specific AnsPress form.

AnsPress_Init

Class: AnsPress initialization class.

AnsPress_Init::prevent_ext()

Method: Prevent loading of previous extension.

AnsPress_Init::redirect_to_about_page()

Method: Redirect to about AnsPress page after activating AnsPress.

AnsPress_Init::drop_blog_tables()

Method: Deleting the table whenever a blog is deleted

AnsPress_Init::create_blog()

Method: Creating table whenever a new blog is created

AnsPress_Init::activation_redirect()

Method: Before activation redirect