Skip to content

Conversation

renatonascalves
Copy link
Contributor

fixes #14

@renatonascalves renatonascalves self-assigned this Oct 3, 2025
Copy link
Member

@dlh01 dlh01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌳

$query_args['post_type'] = explode( ',', $query_args['post_type'] );
}

$block_names = \Mantle\Support\Helpers\mixed( get_flag_value( $assoc_args, 'block_name', '' ) )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the Mantle package providing this function be included in composer.json?


$out = [];

$user_query_args = array_diff_key( $assoc_args, array_flip( [ 'format', 'verbose', 'rewind' ] ) );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

block_name should be added to this array, I think, so that it isn't also passed to WP_Query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

run command reports from a single block
2 participants