🎉BFCM Sale is Live! Grab 24% OFF on Your Favorite BNPL Plugin❤️ – Use Code BFCM24

How do I rename Subscriptions to Payment Plans in the My Account page title

Estimated reading: 1 minute 8 views

To rename Subscriptions to Payment Plans on your My Account page, insert the following snippet into your functions.php file:

function start_modify_html(){
	ob_start();
}


function end_modify_html(){
	$html = ob_get_clean();
	$html = str_replace( 'Payment Plan', 'Subscription', $html );
	echo $html;
}


add_action( 'wp_head', 'start_modify_html');
add_action( 'wp_footer', 'end_modify_html');

Leave a Reply

Your email address will not be published. Required fields are marked *

Share this Doc

How do I rename Subscriptions to Payment Plans in the My Account page title

Or copy link

CONTENTS

© 2024 Payment Plans WC
Built using WordPress & WooCommerce

[mail_cheap]