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;

	}
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;

	}
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 ; }
Check support author archive.

@since 3.3.0

@param string|WP_Post_Type $post_type post type name. / object post type object.

@return bool
Check support author archive .