Weak hands cannot be planted, meager skills have no foundation. Shallow wisdom is futile, how can one hope for a good name?扰扰从役倦，屑屑身事微。少壮轻年月，迟暮惜光辉。
<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php

namespace Hostinger\EasyOnboarding\Admin;
class Partnership {
    const MONSTERINSIGHTS_PARTNER_ID   = 590;
    const ASTRA_PARTNER_ID             = '12425';
    const WPFORMS_PARTNER_REF          = 49;
    const AIOSEO_PARTNER_REF           = 66;
    const HESTIA_AND_NEVE_PARTNER_LINK = 'https://www.shareasale.com/r.cfm?b=642802&u=3107422&m=55096';

    public function __construct() {
        if ( is_admin() ) {
            $this->define_admin_hooks();
        }

        add_action( 'init', array( $this, 'schedule_weekly_cron_job' ) );
    }

    public function partner_astra() {
        add_option( 'astra_partner_url_param', self::ASTRA_PARTNER_ID, '', 'no' );
    }

    public function partner_monsterinsights( $id ) {
        return self::MONSTERINSIGHTS_PARTNER_ID;
    }

    public function wpforms_upgrade_link( $link ) {
        return add_query_arg( 'ref', self::WPFORMS_PARTNER_REF, $link );
    }

    public function aioseo_upgrade_link( $link ) {
        return add_query_arg( 'ref', self::AIOSEO_PARTNER_REF, $link );
    }

    public function monsterinsights_upgrade_link( $link ) {
        return add_query_arg( 'ref', self::MONSTERINSIGHTS_PARTNER_ID, $link );
    }

    public function neve_or_hestia_upgrade_link( $utmify_url, $url ) {
        if ( strpos( $url, 'themes/neve/upgrade' ) !== false || strpos( $url, 'themes/hestia-pro/upgrade' ) !== false ) {
            return self::HESTIA_AND_NEVE_PARTNER_LINK;
        }

        return $utmify_url;
    }

    private function define_admin_hooks() {
        add_filter( 'monsterinsights_shareasale_id', array( $this, 'partner_monsterinsights' ) );
        add_filter( 'monsterinsights_upgrade_link', array( $this, 'monsterinsights_upgrade_link' ) );
        add_filter( 'wpforms_upgrade_link', array( $this, 'wpforms_upgrade_link' ) );
        add_filter( 'aioseo_upgrade_link', array( $this, 'aioseo_upgrade_link' ) );
        add_filter( 'tsdk_utmify_url_neve', array( $this, 'neve_or_hestia_upgrade_link' )