Hide stock notification | WordPress.org

[ad_1]

Plugin Contributor
dwpriv

(@dwpriv)

You should be able to hide this with a code snippet. We would need to know the CSS selector for the notice. You can use this guide to find it on the PDFs. Then you can try this snippet, while replacing the ‘your-selector’ with the CSS selector you found via the guide above:

//Hide backorder notice
add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
	?>
		.your-selector {
			display: none;
		}
	<?php
}, 10 , 2 );

Hi,

Yes it’s perfect, thank you !

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer