Home / Disable / Hide nutrition facts for Tasty Recipes printing
Duplicate Snippet

Embed Snippet on Your Site

Hide nutrition facts for Tasty Recipes printing

Prevent nutritional information from being displayed in the Tasty Recipes print view

<10
Code Preview
php
<?php
add_filter( 'tasty_recipes_print_view_buttons', 'wpt_hide_nutrition_button' );
function wpt_hide_nutrition_button( $buttons ) {
	unset( $buttons['nutrition'] );
	return $buttons;
}

Comments

Add a Comment