um_add_security_checks

The Ultimate Member um add security checks function.

Description

um_add_security_checks( $args ); 

Parameters (1)

0. $args
The args.

Usage

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

Defined (1)

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

/core/um-actions-global.php  
  1. function um_add_security_checks($args) { 
  2. global $ultimatemember; 
  3.  
  4. if ( is_admin() ) return; 
  5.  
  6. echo '<input type="hidden" name="timestamp" id="timestamp" value="'. current_time( 'timestamp' ) .'" />'; 
  7.  
  8. ?> 
  9.  
  10. <p class="<?php echo $ultimatemember->honeypot; ?>_name"> 
  11. <label for="<?php echo $ultimatemember->honeypot; ?>"><?php _e( 'Only fill in if you are not human' ); ?></label> 
  12. <input type="text" name="<?php echo $ultimatemember->honeypot; ?>" id="<?php echo $ultimatemember->honeypot; ?>" class="input" value="" size="25" autocomplete="off" /> 
  13. </p> 
  14.  
  15. <?php 
  16.