Last active
April 26, 2023 13:37
-
-
Save AertHulsebos/51802f2d9fef4f0da20113b54e259ae0 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Edit the output html for the Terms & Conditions page | |
* | |
* @param string $html | |
* | |
* @return string | |
*/ | |
function cmplz_tc_document_html( $html ) { | |
$html = str_replace( 'Change this word', 'into another word', $html); | |
return $html; | |
} | |
add_filter( 'cmplz_tc_document_html', 'cmplz_edit_tc_document_html' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment