Deprecated

This method has been deprecated.

AnsPress_Init::activation_redirect( string $plugin )

Description #

Before activation redirect

Parameters #

  • $plugin
    string (Required) Plugin base name.

Changelog #

VersionDescription
4.1.3Introduced.

Source #

File: anspress-question-answer.php

		public static function activation_redirect( $plugin ) {
			if ( plugin_basename( __FILE__ ) === $plugin ) {
				add_option( 'anspress_do_installation_redirect', true );
			}
		}

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