Last active
January 8, 2023 14:46
-
-
Save codename065/8e6ec5457e2de6efd1b78ef456da9fe6 to your computer and use it in GitHub Desktop.
Using filter hook "wpdmpp_as_you_pay_label" to change label "Name Your Price" in premium packages
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 | |
add_filter( "wpdmpp_as_you_pay_label", function ( $str, $product_id ) { | |
$str = "Your custom text"; | |
return $str; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment