AnsPress_Init::redirect_to_about_page()

Description #

Redirect to about AnsPress page after activating AnsPress.

Changelog #

VersionDescription
3.0.0Introduced.

Source #

File: anspress-question-answer.php

		public static function redirect_to_about_page() {
			if ( get_option( 'anspress_do_installation_redirect' ) ) {
				delete_option( 'anspress_do_installation_redirect' );
				wp_redirect( admin_url( 'admin.php?page=anspress_about' ) );
				exit;
			}
		}

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