Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about wordpress-admin

Read more about wordpress-admin

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - wordpress-admin

How to update woocommerce products statuses to private in phpmyadmin

I want to change a specific range of products to "private". I am using this query to display my products: SELECT * FROM `wp_posts` WHERE `ID` BETWEEN 2044 AND 2048 AND `post_type` = 'product...
test-img

Daniel Andersson

wordpress

woocommerce

phpmyadmin

product

wordpress-admin

Votes: 0

Answers: 1

Latest Answer

You could use the following sql query to change your products statuses: UPDATE wp_posts SET post_status = 'private' WHERE ID BETWEEN 2044 AND 2048 AND post_type = 'product' NOTE: I've used wp_ as ...
test-img

Ruvee

Wordpress Hide child posts of custom post type in wordpress admin

I created a custom post type called "Companies". Every time a post of post type companies is created, a child post is also created. I would like to hide the child posts of this companies pos...
test-img

milan Smeets

wordpress

custom-post-type

wordpress-admin

Votes: 0

Answers: 1

Latest Answer

I managed to do this by using the following code: function cleanup_companies_posttype_list($query) { global $pagenow; if (isset($_GET['post_type']) && $_GET['post_type'] == 'companies' &...
test-img

milan Smeets

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved