Change or filter the expiration text for a level.


/**
 * Change the expiration text for a level.
 *
 * @see pmpro_getLevelExpiration
 *
 * @param string $expiration_text The expiration text.
 * @param object $level           The Level object.
 *
 * @retrn string Expiration text.
 */
apply_filters( 'pmpro_levels_expiration_text', $expiration_text, $level );

Parameters

$expiration_text
string
$level
object

Return Value

$expiration_text


Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php

View in Source Code

Related Articles and Recipes

Limit the Number of Members by Membership Level By Kimberly Coleman