FIX updated post status filter in artisans list to include all statuses for enhanced filtering capabilities (any instead of multiple individual call)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
73b7565e21
commit
b08fd1d5b6
|
|
@ -165,7 +165,7 @@ function metiers_patrimoine_filter_posts_declare_dropdowns()
|
||||||
|
|
||||||
$meta_key = 'mdp_status';
|
$meta_key = 'mdp_status';
|
||||||
$values = get_posts([
|
$values = get_posts([
|
||||||
'post_status' => array('publish', 'draft', 'pending', 'offline', 'trash'),
|
'post_status' => 'any',
|
||||||
'post_type' => 'artisans',
|
'post_type' => 'artisans',
|
||||||
'posts_per_page' => -1,
|
'posts_per_page' => -1,
|
||||||
'meta_key' => $meta_key,
|
'meta_key' => $meta_key,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user