FEAT added 'trash' post status to artisans mdp_status columns filters for improved filtering options
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-04-07 15:56:40 +02:00
parent e64170e089
commit 2cdf0fa7f5

View File

@ -160,7 +160,7 @@ function metiers_patrimoine_filter_posts_declare_dropdowns()
$meta_key = 'mdp_status';
$values = get_posts([
'post_status' => array('publish', 'draft', 'pending', 'offline'),
'post_status' => array('publish', 'draft', 'pending', 'offline', 'trash'),
'post_type' => 'artisans',
'posts_per_page' => -1,
'meta_key' => $meta_key,