Unsupported_Products::show_unsupported_status( array $post_states, WP_Post $post )
Summary
No summary available.Parameters
- $post_states
-
(array) (Required)
- $post
-
(WP_Post) (Required)
Return
(array)
Source
File: src/BigCommerce/Post_Types/Product/Unsupported_Products.php
public function show_unsupported_status( $post_states, $post ) { if ( $this->is_unsupported_product( $post->ID ) ) { unset( $post_states[ 'draft' ] ); $post_states[ 'unsupported' ] = __( 'Unsupported', 'bigcommerce' ); } return $post_states; }