function change_before_sale_price( $woo_rrp_before_sale_price ) { global $post; if ( '4504' == $post->ID ) : return 'From'; else : return $woo_rrp_before_sale_price; endif; } add_filter( 'woo_rrp_before_sale_price', 'change_before_sale_price' );