bws_check_pro_license_form

The Google Captcha (reCAPTCHA) by BestWebSoft bws check pro license form function.

Description

bws_check_pro_license_form( (string) $plugin_basename ); 

Parameters (1)

0. $plugin_basename (string)
The plugin basename.

Usage

  1. if ( !function_exists( 'bws_check_pro_license_form' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-captcha-recaptcha-by-bestwebsoft/bws_menu/deprecated.php'; 
  3.  
  4. // The plugin basename. 
  5. $plugin_basename = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bws_check_pro_license_form($plugin_basename); 
  9.  

Defined (1)

The function is defined in the following location(s).

/bws_menu/deprecated.php  
  1. function bws_check_pro_license_form( $plugin_basename ) { 
  2. global $bstwbsftwppdtplgns_options; 
  3. $license_key = ( isset( $bstwbsftwppdtplgns_options[ $plugin_basename ] ) ) ? $bstwbsftwppdtplgns_options[ $plugin_basename ] : ''; ?> 
  4. <div class="clear"></div> 
  5. <form method="post" action=""> 
  6. <p><?php echo _e( 'If necessary, you can check if the license key is correct or reenter it in the field below. You can find your license key on your personal page - Client Area - on our website', 'bestwebsoft' ) . ' <a href="https://bestwebsoft.com/client-area">https://bestwebsoft.com/client-area</a> ' . __( '(your username is the email address specified during the purchase). If necessary, please submit "Lost your password?" request.', 'bestwebsoft' ); ?></p> 
  7. <p> 
  8. <input type="text" maxlength="100" name="bws_license_key" value="<?php echo $license_key; ?>" /> 
  9. <input type="hidden" name="bws_license_submit" value="submit" /> 
  10. <input type="submit" class="button" value="<?php _e( 'Check license key', 'bestwebsoft' ) ?>" /> 
  11. <?php wp_nonce_field( $plugin_basename, 'bws_license_nonce_name' ); ?> 
  12. </p> 
  13. </form> 
  14. <?php }