BSF_Envato_Activate::alternate_method_link( string $content )

ALternate method link.


Description


Parameters

$content

(string) (Required) Content.


Return

($content.)


Source

File: admin/bsf-core/class-bsf-envato-activate.php

	public function alternate_method_link( $content ) {

			$bsf_activation_nonce = wp_create_nonce( 'bsf_activation_nonce' );
			$content              = sprintf(
				'<a href="%s">Activate license using purchase key</a>',
				add_query_arg(
					array(
						'activation_method'    => 'license-key',
						'bsf_activation_nonce' => $bsf_activation_nonce,
					)
				)
			);

			return $content;
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.