This topic has 2 replies, 2 voices, and was last updated 2 years, 3 months ago ago by Rose Tyler
The file function.php can’t be found in appearance?
I wish to add some code to remove any reference to “shipping” and replace with the word “delivery” to suit the UK market.
add_filter(‘woocommerce_shipping_package_name’, ‘change_shipping_text_to_delivery’, 20, 3 );
function change_shipping_text_to_delivery( $sprintf, $i, $package ) {
$sprintf = sprintf( _nx( ‘Delivery’, ‘Delivery %d’, ( $i + 1 ), ‘delivery packages’, ‘woocommerce’ ), ( $i + 1 ) );
return $sprintf;
}
Hello,
Are you trying to edit PHP files via WP Dashboard? Use FTP for these purposes because in case you make any error you’ll be locked out and won’t be able to change anything back without FTP. So, it would be better to use FTP from start.
If you do not know how to create FTP contact with your hosting provider, they will help you.
Please note that we are not responsible for the third-party code -https://themeforest.net/page/item_support_policy
Regards
Tagged: child theme, find, function.php, themes, woocommerce, wordpress
The issue related to '‘How do I find the child theme function.php’' has been successfully resolved, and the topic is now closed for further responses