📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 20:59:25
📂
/ (Root)
/
home
/
apkbfjox
/
epiwinn.com.pk
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
ai
/
content-planner
/
domain
📍 /home/apkbfjox/epiwinn.com.pk/wp-content/plugins/wordpress-seo/src/ai/content-planner/domain
🔄 Refresh
✏️
Editing: content-suggestion-list.php
Writable
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\AI\Content_Planner\Domain; /** * List of content suggestions. */ class Content_Suggestion_List { /** * The suggestions. * * @var array<Content_Suggestion> */ private $content_suggestions = []; /** * Adds a content suggestion to the list. * * @param Content_Suggestion $content_suggestion A content suggestion. * * @return void */ public function add( Content_Suggestion $content_suggestion ): void { $this->content_suggestions[] = $content_suggestion; } /** * Returns this object in array format. * * @return array<array<string, string|bool|array<string, int>>> The suggestions as an array. */ public function to_array(): array { $result = []; foreach ( $this->content_suggestions as $suggestion ) { $result[] = $suggestion->to_array(); } return [ 'suggestions' => $result ]; } }
💾 Save Changes
❌ Cancel