bp_get_verified_image

Bp_get_verified_image function.

Description

(string) bp_get_verified_image( (string) $image ); 

Returns (string)

Parameters (1)

0. $image (string)
The image.

Usage

  1. if ( !function_exists( 'bp_get_verified_image' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddyverified/includes/class-functions.php'; 
  3.  
  4. // The image. 
  5. $image = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_get_verified_image($image); 
  9.  

Defined (1)

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

/includes/class-functions.php  
  1. function bp_get_verified_image( $image ) { 
  2. $src = apply_filters( 'bp_get_verified_image', esc_url( VERIFIED_URL ) . '/images/' . $image . '.png' ); 
  3. return '<img class="verified-badge" src="' . $src . '" alt="verified badge">';