/** * Hide specific WooCommerce products from the main Shop page. * * The products will still be accessible through: * - Their direct product URLs * - Product category pages * - Custom product sections */ function inmate_create_hide_specific_shop_products( $query ) { // Do not run in the WordPress admin dashboard. if ( is_admin() ) { return; } // Only affect the main WooCommerce Shop page. if ( ! is_shop() ) { return; } /* * Enter the IDs of the products you want to hide. * Separate each ID with a comma. */ $hidden_product_ids = array( 22675, ); // Preserve any products already excluded by WooCommerce or another plugin. $existing_excluded_ids = (array) $query->get( 'post__not_in' ); // Add the selected product IDs to the exclusion list. $query->set( 'post__not_in', array_unique( array_merge( $existing_excluded_ids, array_map( 'absint', $hidden_product_ids ) ) ) ); } add_action( 'woocommerce_product_query', 'inmate_create_hide_specific_shop_products' ); Mass incarceration – Inmate Create

Tag Archives: Mass incarceration

What Is Solitary Confinement Like? A Realistic Perspective

From the Perspective of Inmate Create When people search â€śwhat is solitary confinement like,” they are not just looking for facts.They are trying to understand an experience most people will never face. At Inmate Create, we work with individuals who have lived through the prison system.Some of them have experienced solitary confinement firsthand. This is not theory.This is […]

Major Criminal Justice Victory in Pennsylvania: A Landmark Supreme Court Decision Brings Hope to Over 1,000 Incarcerated People

Symbolic image of justice and freedom in Pennsylvania featuring the State Capitol, balanced scales, a judge’s gavel, and hands breaking free from handcuffs under a golden sunset — representing hope and reform for incarcerated people.

There is powerful news coming out of Pennsylvania this week — the kind of news that shifts futures, restores hope, and moves the needle on criminal justice reform in a real way. Last week, the Pennsylvania Supreme Court issued a major ruling that will impact more than 1,000 incarcerated people across the state. This decision […]