Last active
November 29, 2015 17:08
-
-
Save SeanChDavis/31eba98beb9e314b7395 to your computer and use it in GitHub Desktop.
EDD Wallet Add New Deposit Levels
This file contains 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 // DO NOT COPY THIS LINE | |
function sd_wallet_desposit_levels( $levels ) { | |
// add new deposit levels to default list | |
$more_levels = array( '2000', '5000' ); | |
return array_merge( $levels, $more_levels ); | |
} | |
add_filter( 'edd_wallet_deposit_levels', 'sd_wallet_desposit_levels' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment