My custom wp-admin php files stopped working

As Tom noted, it’s never safe to edit WP Core files, including any of the contents of wp-admin or wp-includes. What happened? Your site may have auto-updated, and any update to Core would have overwritten your changes. Or, even if your site didn’t auto-update, it could be that your host has recently locked down those … Read more

Modifier l’affichage du prix sur la fiche produit

J’ai résolu une partie du problème. I solved part of the problem. **function change_product_price_display( $price ) { if ( is_product() && has_term( array( ‘clair’, ‘moyen’, ‘fonce’ ), ‘product_cat’ ) ) { $price_unit = $price; $prices = get_post_meta( get_the_ID(), ‘_price’, true ); $surface = get_field( ‘surface’ ); $surfaces = str_replace( ‘.’, ‘,’, get_field( ‘surface’ ) ); … Read more