Last active
December 4, 2019 20:24
-
-
Save robertdevore/6fd9eded6184f564e01d37796ba3e133 to your computer and use it in GitHub Desktop.
Add your own content to the Age Verification plugin for WordPress
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 content after the Age Verification pop up content | |
* | |
* @author Robert DeVore <deviodigital@gmail.com> | |
* @link https://www.wordpress.org/plugins/dispensary-age-verification/ | |
* @return string | |
*/ | |
function acme_after_popup_content( $string ) { | |
// Change the following to anything you'd like to display. | |
$string = __( 'By clicking YES you agree to our Terms of Service', 'acme-lang' ); | |
return $string; | |
} | |
add_filter( 'avwp_after_popup_content', 'acme_after_popup_content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment