um_add_form_honeypot_js

The Ultimate Member um add form honeypot js function.

Description

um_add_form_honeypot_js(); 

Usage

  1. if ( !function_exists( 'um_add_form_honeypot_js' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ultimate-member/core/um-actions-global.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = um_add_form_honeypot_js(); 
  7.  

Defined (1)

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

/core/um-actions-global.php  
  1. function um_add_form_honeypot_js() { global $ultimatemember; ?> 
  2.  
  3. <script type="text/javascript">jQuery( '#<?php echo $ultimatemember->honeypot; ?>' ).val( '' );</script> 
  4.  
  5. <?php