mycred_rank_has_logo

Codex / / Functions / mycred_rank_has_logo

Navigation:

  1. Description
  2. Usage
  3. Parameters
  4. Return

Description

Checks if a given rank has a logo (featured image). Returns either true or false.

 

Usage

if ( mycred_rank_has_logo( $rank_id ) ) {
	// It has a logo
}

 

Parameters

  • rank_id (int|string) Required
    Either the rank ID or rank title.

 

Return

Returns either true or false.

Last edited July 2, 2014