last4

The Paid Memberships Pro last4 function.

Description

last4( $t ); 

Parameters (1)

0. $t
The t.

Usage

  1. if ( !function_exists( 'last4' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/includes/functions.php'; 
  3.  
  4. // The t. 
  5. $t = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = last4($t); 
  9.  

Defined (1)

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

/includes/functions.php  
  1. function last4($t) 
  2. return substr($t, strlen($t) - 4, 4);