$type, 'id' => $id, ) ); } /** * The partner urls are no longer used, but this method is in place to ensure * back-compatibility with the optin_monster_action_link filter, to determine * if certain partner features are visible. * * @since 2.0.0 * * @return string|boolean */ public static function has_partner_url() { $url = self::get_partner_url(); return false === strpos( $url, 'optinmonster.com/wp' ) ? $url : false; } /** * Get the Partner ID. * * @since 2.0.0 * * @return string */ public static function get_id() { $id = self::get_trial_id(); if ( empty( $id ) ) { $id = self::get_sas_id(); } return $id; } }