Using is_single() in WooCommerce

If you’ve ever done any coding in WordPress then you may have used the is_single() function, it’s super useful for finding out if you’re on a specific single post page function hwn_filter_content_using_issingle($content) { if( is_single(35) && is_main_query() ) { $new_content = ‘<p>This bonus content is added to the bottom of post 35.</p>’; $content .= $new_content; … Read more