Created
August 11, 2016 01:05
-
-
Save ramiabraham/be509227e39558d33b1c9f8b7aac0e17 to your computer and use it in GitHub Desktop.
Change the notice in the affiliate dashboard for store credit balances.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: AffiliateWP - Store Credit Custom Dashboard Notice | |
* Plugin URI: http://affiliatewp.com | |
* Description: Change the notice in the affiliate dashboard for store credit balances. | |
* Author: ramiabraham | |
* Author URI: http://affiliatewp.com | |
* Version: 1.0 | |
*/ | |
function affwp_custom_store_credit_dashboard_notice() { | |
$notice = 'Your custom notice goes here'; | |
return $notice; | |
} | |
add_filter('affwp_store_credit_affiliate_notice','affwp_custom_store_credit_dashboard_notice'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment