public function validate_user_can_query_private_statuses( $value, $request, $parameter ) {
		if ( 'inherit' === $value ) {
			return true;
		}
		return parent::validate_user_can_query_private_statuses( $value, $request, $parameter );
	}
public function validate_user_can_query_private_statuses( $value, $request, $parameter ) {
		if ( 'inherit' === $value ) {
			return true;
		}
		return parent::validate_user_can_query_private_statuses( $value, $request, $parameter );
	}
public function validate_user_can_query_private_statuses ( $ value , $ request , $ parameter ) { if ( 'inherit' === $ value ) { return true ; } return parent :: validate_user_can_query_private_statuses ( $ value , $ request , $ parameter ) ; }
Validate whether the user can query private statuses

@param  mixed           $value     Status value.
@param  WP_REST_Request $request   Request object.
@param  string          $parameter Additional parameter to pass to validation.
@return WP_Error|boolean Boolean true if the user may query, WP_Error if not.
Validate whether the user can query private statuses