From 635137d1a7baa38b6259305f4fee41d034a344b7 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 18 Feb 2025 15:35:26 +0100 Subject: [PATCH] refactoring and cleaning --- includes/admin.php | 1 - includes/artisans.php | 11 ++++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/admin.php b/includes/admin.php index ae6440f..2195c3f 100644 --- a/includes/admin.php +++ b/includes/admin.php @@ -155,7 +155,6 @@ add_filter('views_edit-artisans', function ($views) { REMPLACER LES LABELS DES FILTRES DE LA LISTE DES ARTISANS (TOUT EN HAUT DANS LE SUBSUBSUB) --------------------------------------------------------------------------------------------*/ add_filter('views_edit-artisans', function ($views) { - write_log($views); if (isset($views['publish'])) { $views['publish'] = str_replace('Publié', 'En ligne', $views['publish']); } diff --git a/includes/artisans.php b/includes/artisans.php index 2b8bda7..49d8517 100644 --- a/includes/artisans.php +++ b/includes/artisans.php @@ -40,7 +40,6 @@ add_action('edit_form_after_title', function () { ?>

-

État :

@@ -48,7 +47,12 @@ add_action('edit_form_after_title', function () {

Statut :

- + + + + Aucun !! + +
@@ -255,9 +259,6 @@ add_filter('manage_artisans_posts_columns', 'remove_rank_math_seo_column_for_art - - - /* ---------------------------------------------------------------------- DÉCLARATION DES COLONNES CUSTOM DANS LA LISTE DES POSTS ARTISANS ------------------------------------------------------------------------*/