: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @copyright Copyright (c) 2015, Freemius, Inc.
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
if ( ! defined( 'ABSPATH' ) ) {
class FS_Affiliate extends FS_Scope_Entity {
public $custom_affiliate_terms_id;
public $is_using_custom_terms;
* @var string status Enum: `pending`, `rejected`, `suspended`, or `active`. Defaults to `pending`.
return ( 'active' === $this->status );
return ( 'pending' === $this->status );
function is_suspended() {
return ( 'suspended' === $this->status );
return ( 'rejected' === $this->status );
return ( 'blocked' === $this->status );