WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Marketing::get_knowledge_base_posts() public WC 1.0

Return installed marketing extensions data.

{} It's a method of the class: Marketing{}

No Hooks.

Return

\WP_Error|\WP_REST_Response. Nothing.

Usage

$Marketing = new Marketing();
$Marketing->get_knowledge_base_posts( $request );
$request(\WP_REST_Request) (required)
Request data.

Code of Marketing::get_knowledge_base_posts() WC 5.3.0

<?php
public function get_knowledge_base_posts( $request ) {
	$category = $request->get_param( 'category' );
	return rest_ensure_response( MarketingFeature::get_instance()->get_knowledge_base_posts( $category ) );
}