File Editor
Directories:
.. (Back)
RestApi
upgrades
Files:
Admin.php
AdminBar.php
Data.php
base.php
jetpack.php
partners.php
performance.php
plugin-nfd-compat-check.php
plugin-php-compat-check.php
settings.php
updates.php
Create New File
Create
Edit File: partners.php
<?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 ); } 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 ); } add_filter( 'aioseo_upgrade_link', __NAMESPACE__ . '\\aioseo_upgrade_affiliate_link' );
Save Changes
Rename File
Rename