????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/./self/cwd/wp-content/plugins/wp-plugin-hostgator/inc/ |
Upload File : |
<?php
/**
* This file adds filters for partler links.
*
* @package HostGatorWordPressPlugin
*/
namespace HostGator;
/**
* WPForms upgrade affiliate link.
*
* @param string $url Destination URL.
*
* @return string
*/
function wpforms_upgrade_affiliate_link( $url ) {
return 'http://www.shareasale.com/r.cfm?B=837827&U=1258907&M=64312&urllink=' . rawurlencode( $url );
}
// Remove filter temporarily while SaS issue is resolved
// add_filter( 'wpforms_upgrade_link', __NAMESPACE__ . '\\wpforms_upgrade_affiliate_link' );
/**
* All-in-One SEO upgrade affiliate link.
*
* @param string $url Destination URL.
*
* @return string
*/
function aioseo_upgrade_affiliate_link( $url ) {
return 'http://www.shareasale.com/r.cfm?B=1491200&U=1258907&M=94778&urllink=' . rawurlencode( $url );
}
// Remove filter temporarily while SaS issue is resolved
// add_filter( 'aioseo_upgrade_link', __NAMESPACE__ . '\\aioseo_upgrade_affiliate_link' );
/**
* Remove Blocked ShareASale ID from OptinMonster, WPForms, and MonsterInsights.
*
* @param string $value The ShareASale ID.
*
* @return string|bool
*/
function nfd_remove_sas_id( $value ) {
$blocked_sas_id = '1258907';
if ( $value === $blocked_sas_id ) {
return false;
}
return $value;
}
add_filter( 'option_optinmonster_trial_id', __NAMESPACE__ . '\\nfd_remove_sas_id' );
add_filter( 'option_wpforms_shareasale_id', __NAMESPACE__ . '\\nfd_remove_sas_id' );
add_filter( 'option_monsterinsights_shareasale_id', __NAMESPACE__ . '\\nfd_remove_sas_id' );