You can do is to create an additional user and switch to it in order to use the wp-cli
Related Posts:
- WP-CLI How to generate a list of posts with corresponding meta values
- WP CLI can’t delete plugin related table
- Meta_query compare operator explanation
- Exclude post ID from wp_query
- Can I force WP_Query to return no results?
- paginate_links() adds empty href to first page and previous link
- Get array of posts from the current archive page loop
- Custom query incorrectly returning everything [closed]
- Last post ordered by publish date using WP_Query on front page
- WP_query and pagination?
- pagenavi with merged wp_query [duplicate]
- How can I display recent posts from a particular category in my header?
- Select posts with any post_type from database?
- Search Custom Post with meta_value NULL
- Ajax Infinite Scroll In Custom WP_Query Loop Not Working
- Query two post types and order by two different date fields
- Injecting content with $wp_query->current_post restarts from zero on paged pages. How to inject content after X posts, regardless of pagination?
- How to display images in related posts?
- WP Query – Get WooCommerce Products with variation that is in stock
- Multiple search queries on one page
- How to Modify Taxonomy Archive Page with Search Parameter?
- Custom Post order for homepage
- Arrange BBpress topics by created
- Warnings in nav-menu when visiting query pages [closed]
- Page navigation doesn’t show when query category
- Sorting posts DESC based on the number of comments using WP_Query
- Create unique page without header.php for json feed
- $wpdb select date range of posts
- Meta Query relation “AND” not working
- get_posts() not working with multiple statuses
- Add quicklink to in the Admin posts page where I can query by a meta_key
- Performance when getting post meta for post retrieved by meta value
- Exclude an array
- WP_Query: “post_parent” and “post_type” combination returning strange results
- How to use the query hook/filter?
- Cutom wp_query for geolocation search, pagination not working
- Tax query AND/OR meta query [duplicate]
- WP_query return more results than SQL query. post_count > found_posts
- Display most popular in the past two days
- WP_Query (list) posts according to author’s custom field
- Need to convert string of term ids into comma separated integers for use in an arguments array
- How can I allow sticky posts but cap the query to 1 post?
- Hide posts with meta key in WP_Query
- How do I get my custom query to work with search results after the first page?
- Need Sub-category with main Category
- Easy way to write complex queries in wordpress
- Error with function in functions.php?
- I am having problem sorting custom post type using WP_Query
- difference between querying database and using the loop
- Query_vars support in Rest API
- How to do logical OR in terms in WP Query?
- Continue or break the while loop
- Custom query filter by ACF date custom field
- Child pages not affected by orderby
- Write WP Query that selects posts that are part of the same two categories
- Error in meta_query not get result
- Sorting posts by Multiple custom fields in defined order
- Custom wp_query – I’m getting ‘all’ post, not the specific post in the query
- Phpmyadmin – post editing
- Show multiple tax_query from 2 or more post_type in a single code
- Disable (or limit) queries when certain content (or data) is not needed (or showed)
- Query not sorting DESC
- How to make a query returning pages from multiple parents
- Prioritising and Ordering Posts By Category Name Using A Custom Loop
- Filter products on category AND tag
- create a custom query for posts managed by Restrict Content Pro
- meta_query – check for multiple meta values in key which holds an array of values
- How to sort wordpress posts already selected by WP_QUERY
- How do I stop the same post showing multiple times in a archive?
- Searching for a specific month in a metadata saved as Timestamp (Wp_Query)
- SEARCH QUERY PLEASE HELP | call_user_func_array() expects parameter 1 to be a valid callback php
- WP_Query on custom key and value
- Set “editor” role to existing user
- how to get wp_query posts only first letter of alphabet A?
- How to mix two orderby-parameters into one ordered result
- Custom Post Type WP_Query with filters and search
- Merge wp-query and get_users
- Get posts by similar names and categories
- Query by meta value (add a dropdown of all values)
- WP Query issue for multiple values
- Calling a function with WP_Query only ever brings the first result
- get last child post by wp_query
- WP_Query don’t working with fixed post_id and term_taxonomy
- How To Query All Attachment Images Found In Post Galleries
- WordPress meta_query not working
- Create multiple sections for all categories and then queries all the posts for each of those categories
- Filter WP_Query output before it is accessed (pre_get_posts)?
- $wp_query when new WP_Query
- Query to get all the posts of more than 2 meta_value having same meta_key?
- Divide WP_Query posts by date & post type
- Unable to pass variable
- WP Query get posts by specific author IDs if one of several logged in authors
- Edit WordPress loop, taxonomies, & filter
- WP query based on two meta queries
- WordPress website links redirect to homepage
- How to display posts from a specific term first then another posts from another terms using tax_query
- SQL query into to WP query
- WordPress WP_Query Search (‘s’) With Multiple Search Terms
- I want to place a post before all others from an ACF boleen field
- How to put posts with some taxonomy on top of others in `pre_get_posts`