✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.223
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/application-20260907094900//introductions-collector.php
<?php

namespace Yoast\WP\SEO\Introductions\Application;

use Yoast\WP\SEO\Introductions\Domain\Introduction_Interface;
use Yoast\WP\SEO\Introductions\Domain\Introduction_Item;
use Yoast\WP\SEO\Introductions\Domain\Introductions_Bucket;
use Yoast\WP\SEO\Introductions\Infrastructure\Introductions_Seen_Repository;

/**
 * Manages the collection of introductions.
 */
class Introductions_Collector {

	/**
	 * Holds all the introductions.
	 *
	 * @var Introduction_Interface[]
	 */
	private $introductions;

	/**
	 * Constructs the collector.
	 *
	 * @param Introduction_Interface ...$introductions All the introductions.
	 */
	public function __construct( Introduction_Interface ...$introductions ) {
		$this->introductions = $this->add_introductions( ...$introductions );
	}

	/**
	 * Gets the data for the introductions.
	 *
	 * @param int $user_id The user ID.
	 *
	 * @return array The list of introductions.
	 */
	public function get_for( $user_id ) {
		$bucket   = new Introductions_Bucket();
		$metadata = $this->get_metadata( $user_id );

		foreach ( $this->introductions as $introduction ) {
			if ( ! $introduction->should_show() ) {
				continue;
			}
			if ( $this->is_seen( $introduction->get_id(), $metadata ) ) {
				continue;
			}
			$bucket->add_introduction(
				new Introduction_Item( $introduction->get_id(), $introduction->get_priority() ),
			);
		}

		return $bucket->to_array();
	}

	/**
	 * Filters introductions with the 'wpseo_introductions' filter.
	 *
	 * @param Introduction_Interface ...$introductions The introductions.
	 *
	 * @return Introduction_Interface[]
	 */
	private function add_introductions( Introduction_Interface ...$introductions ) {
		/**
		 * Filter: Adds the possibility to add additional introductions to be included.
		 *
		 * @internal
		 *
		 * @param Introduction_Interface $introductions This filter expects a list of Introduction_Interface instances and
		 *                                              expects only Introduction_Interface implementations to be added to the list.
		 */
		$filtered_introductions = (array) \apply_filters( 'wpseo_introductions', $introductions );

		return \array_filter(
			$filtered_introductions,
			static function ( $introduction ) {
				return \is_a( $introduction, Introduction_Interface::class );
			},
		);
	}

	/**
	 * Retrieves the introductions metadata for the user.
	 *
	 * @param int $user_id The user ID.
	 *
	 * @return array The introductions' metadata.
	 */
	public function get_metadata( $user_id ) {
		$metadata = \get_user_meta( $user_id, Introductions_Seen_Repository::USER_META_KEY, true );
		if ( \is_array( $metadata ) ) {
			return $metadata;
		}

		return [];
	}

	/**
	 * Determines whether the user has seen the introduction.
	 *
	 * @param string   $name     The name.
	 * @param string[] $metadata The metadata.
	 *
	 * @return bool Whether the user has seen the introduction.
	 */
	private function is_seen( $name, $metadata ) {
		if ( \array_key_exists( $name, $metadata ) ) {
			if ( \is_array( $metadata[ $name ] ) ) {
				return (bool) ( $metadata[ $name ]['is_seen'] );
			}
			return (bool) $metadata[ $name ];
		}

		return false;
	}

	/**
	 * Checks if the given introduction ID is a known ID to the system.
	 *
	 * @param string $introduction_id The introduction ID to check.
	 *
	 * @return bool
	 */
	public function is_available_introduction( string $introduction_id ): bool {
		foreach ( $this->introductions as $introduction ) {
			if ( $introduction->get_id() === $introduction_id ) {
				return true;
			}
		}
		return false;
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
23 Sep 2026 2.57 AM
docteuh / users
0777
10
--
7 Sep 2026 11.49 AM
docteuh / users
0755
11
--
13 Sep 2026 3.44 PM
docteuh / users
0755
12
--
7 Sep 2026 11.49 AM
docteuh / users
0755
Resources
--
11 Sep 2026 2.04 PM
docteuh / users
0755
Utils
--
14 Sep 2026 3.40 PM
docteuh / users
0755
admin
--
17 Sep 2026 3.32 PM
docteuh / users
0755
apiclient-services
--
22 Sep 2026 8.53 PM
docteuh / users
0755
bbpress
--
18 Sep 2026 5.34 AM
docteuh / users
0755
cardo
--
21 Sep 2026 10.06 AM
docteuh / users
0755
content-types
--
29 Aug 2026 3.51 AM
docteuh / users
0755
dashboard
--
12 Sep 2026 10.41 AM
docteuh / users
0755
default
--
10 Sep 2026 12.26 AM
docteuh / users
0755
deprecated
--
17 Sep 2026 4.54 PM
docteuh / users
0755
dist
--
10 Sep 2026 11.29 PM
docteuh / users
0755
domain
--
22 Sep 2026 8.40 AM
docteuh / users
0755
enhancement
--
7 Sep 2026 11.49 AM
docteuh / users
0755
exceptions
--
11 Sep 2026 6.22 PM
docteuh / users
0755
free-sparks
--
15 Sep 2026 7.23 AM
docteuh / users
0755
fusion_slider_exports
--
13 Sep 2026 1.23 AM
docteuh / users
0755
images
--
10 Sep 2026 10.26 AM
docteuh / users
0755
indexing
--
16 Sep 2026 5.55 PM
docteuh / users
0755
integrations
--
10 Sep 2026 12.55 AM
docteuh / users
0755
js
--
18 Sep 2026 9.32 PM
docteuh / users
0755
languages
--
13 Sep 2026 1.25 AM
docteuh / users
0755
list-grid
--
13 Sep 2026 10.55 PM
docteuh / users
0755
media
--
14 Sep 2026 4.28 PM
docteuh / users
0755
meta
--
13 Sep 2026 4.08 PM
docteuh / users
0755
models
--
13 Sep 2026 4.19 AM
docteuh / users
0755
packages
--
10 Sep 2026 10.24 AM
docteuh / users
0755
rtl
--
9 Sep 2026 3.42 AM
docteuh / users
0755
schema_map
--
7 Sep 2026 11.49 AM
docteuh / users
0755
tabs
--
10 Sep 2026 4.41 PM
docteuh / users
0755
tests
--
11 Sep 2026 5.23 PM
docteuh / users
0755
upgrades
--
12 Sep 2026 10.39 AM
docteuh / users
0755
aggregate-site-schema-command-handler-20260903205822.php
2.158 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
aggregate-site-schema-command-handler.php
2.158 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
aggregate-site-schema-command.php
0.917 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
aggregate-site-schema-map-command.php
0.762 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ai-brand-insights-post-launch.php
1.552 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ai-brand-insights-pre-launch.php
1.291 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ai-fix-assessments-upsell.php
1.43 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
black-friday-announcement.php
1.895 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
classes-surface-20260903224342.php
0.795 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
classes-surface.php
0.795 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
consent-endpoints-repository.php
0.635 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
consent-handler-interface.php
0.701 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
consent-handler.php
1.188 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
current-page-trait.php
1.322 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
delayed-premium-upsell.php
4.929 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
fr_FR-1d17475f620f63a92e2c5d2681c51ee8-20260826210421-20260827021803.json
0.787 KB
17 Jun 2026 6.20 PM
docteuh / users
0644
generator-endpoints-repository.php
0.712 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260827192224-20260829103225-20260831111900-20260901114837-20260902013226-20260907193951.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260827192224.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260829050506-20260830003632-20260830003701-20260830003856-20260830084040.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260829050506-20260830003632-20260830003701-20260830003856-20260831163243.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260829050506-20260830004210-20260830004247-20260830005923-20260830013342.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260830225112.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
introductions-collector.php
3.485 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
license.txt
32.538 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
loader-20260828063328.php
6.886 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
loader.php
6.886 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
plugin-headers.php
0.723 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
properties-merger.php
5.118 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
schema-aggregator-announcement.php
1.454 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
schema-aggregator-response-composer.php
0.868 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
schema-pieces-aggregator.php
2.238 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
string-helper.php
1.189 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
user-allowed-trait.php
0.475 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
version-trait.php
0.595 KB
23 Jun 2026 6.19 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF