Home / Admin / Remove Free Text
Duplicate Snippet

Embed Snippet on Your Site

Remove Free Text

Remove the word "free" from free products

Code Preview
php
<?php
function pw_edd_remove_free( $form, $args ) {
	
	$form = str_replace( 'Free&nbsp;&ndash;&nbsp;Purchase', 'Purchase' , $form );
	return $form;
}
add_filter( 'edd_purchase_download_form', 'pw_edd_remove_free', 10, 2 );

Comments

Add a Comment