original_string: public static function get_post_type_author_archive_support( $post_type ) {
  		if ( is_string( $post_type ) ) {
  			$post_type = get_post_type_object( $post_type );
  		}
  
  		if ( ! empty( $post_type->cptp ) && isset( $post_type->cptp['author_archive'] ) ) {
  			return ! ! $post_type->cptp['author_archive'];
  		}
  
  		return true;
  
  	}
code: public static function get_post_type_author_archive_support( $post_type ) {
  		if ( is_string( $post_type ) ) {
  			$post_type = get_post_type_object( $post_type );
  		}
  
  		if ( ! empty( $post_type->cptp ) && isset( $post_type->cptp['author_archive'] ) ) {
  			return ! ! $post_type->cptp['author_archive'];
  		}
  
  		return true;
  
  	}
code_tokens: public static function get_post_type_author_archive_support ( $ post_type ) { if ( is_string ( $ post_type ) ) { $ post_type = get_post_type_object ( $ post_type ) ; } if ( ! empty ( $ post_type -> cptp ) && isset ( $ post_type -> cptp [ 'author_archive' ] ) ) { return ! ! $ post_type -> cptp [ 'author_archive' ] ; } return true ; }
docstring: Check support author archive.
  
  @since 3.3.0
  
  @param string|WP_Post_Type $post_type post type name. / object post type object.
  
  @return bool
docstring_tokens: Check support author archive .