FEAT added support for additional post statuses (draft, pending, offline) in artisans mdp_status columns filters
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-04-07 15:56:10 +02:00
parent 3c2f7012ed
commit e64170e089

View File

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