original_string: private static function is_rewrite_supported_by( $post_type ) {
  		$post_type_object = get_post_type_object( $post_type );
  		if ( false === $post_type_object->rewrite ) {
  			$support = false;
  		} else {
  			$support = true;
  		}
  
  		/**
  		 * Filters support CPTP for custom post type.
  		 *
  		 * @since 3.2.0
  		 *
  		 * @param bool $support support CPTP.
  		 */
  		$support = apply_filters( "CPTP_is_rewrite_supported_by_${post_type}", $support );
  
  		/**
  		 * Filters support CPTP for custom post type.
  		 *
  		 * @since 3.2.0
  		 *
  		 * @param bool $support support CPTP.
  		 * @param string $post_type post type name.
  		 */
  		return apply_filters( 'CPTP_is_rewrite_supported', $support, $post_type );
  	}
code: private static function is_rewrite_supported_by( $post_type ) {
  		$post_type_object = get_post_type_object( $post_type );
  		if ( false === $post_type_object->rewrite ) {
  			$support = false;
  		} else {
  			$support = true;
  		}
  
  		/**
  		 * Filters support CPTP for custom post type.
  		 *
  		 * @since 3.2.0
  		 *
  		 * @param bool $support support CPTP.
  		 */
  		$support = apply_filters( "CPTP_is_rewrite_supported_by_${post_type}", $support );
  
  		/**
  		 * Filters support CPTP for custom post type.
  		 *
  		 * @since 3.2.0
  		 *
  		 * @param bool $support support CPTP.
  		 * @param string $post_type post type name.
  		 */
  		return apply_filters( 'CPTP_is_rewrite_supported', $support, $post_type );
  	}
code_tokens: private static function is_rewrite_supported_by ( $ post_type ) { $ post_type_object = get_post_type_object ( $ post_type ) ; if ( false === $ post_type_object -> rewrite ) { $ support = false ; } else { $ support = true ; } /**
  		 * Filters support CPTP for custom post type.
  		 *
  		 * @since 3.2.0
  		 *
  		 * @param bool $support support CPTP.
  		 */ $ support = apply_filters ( "CPTP_is_rewrite_supported_by_${post_type}" , $ support ) ; /**
  		 * Filters support CPTP for custom post type.
  		 *
  		 * @since 3.2.0
  		 *
  		 * @param bool $support support CPTP.
  		 * @param string $post_type post type name.
  		 */ return apply_filters ( 'CPTP_is_rewrite_supported' , $ support , $ post_type ) ; }
docstring: Check post type support rewrite.
  
  @param string $post_type post_type name.
  
  @return bool
docstring_tokens: Check post type support rewrite .