Yoast\WP\SEO\AI\Content_Planner\Domain

Content_Suggestion_Response::__construct │ public │ Yoast 1.0

The constructor.

Метод класса: Content_Suggestion_Response{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Content_Suggestion_Response = new Content_Suggestion_Response();
$Content_Suggestion_Response->__construct( $suggestions, $recent_content );
$suggestions(Content_Suggestion_List) (обязательный)
The content suggestions.
$recent_content(Post_List) (обязательный)
The recent content.

Код Content_Suggestion_Response::__construct() Yoast 28.9

public function __construct( Content_Suggestion_List $suggestions, Post_List $recent_content ) {
	$this->suggestions    = $suggestions;
	$this->recent_content = $recent_content;
}