REFACTOR Cleaning unsued lines

This commit is contained in:
Nonimart 2025-06-17 10:16:34 +02:00
parent 295684c654
commit cef233ae26

View File

@ -148,9 +148,6 @@ function metiers_patrimoine_filter_posts_declare_dropdowns()
{
global $typenow;
global $wp_meta_boxes;
// global $pagenow;
// write_log($wp_meta_boxes);
$post_type = (isset($_GET['post_type'])) ? $_GET['post_type'] : 'post';
if ($post_type !== 'artisans') return;