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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3c2f7012ed
commit
e64170e089
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user