�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`� 0x0x
PHP 8.1.31
Preview: connectors.php Size: 23.52 KB
/var/www/weelorum_com_usr/data/www/weelorum.com/wp-includes/connectors.php
<?php
/**
 * Connectors API.
 *
 * @package WordPress
 * @subpackage Connectors
 * @since 7.0.0
 */

use WordPress\AiClient\AiClient;
use WordPress\AiClient\Providers\Http\DTO\ApiKeyRequestAuthentication;

/**
 * Checks if a connector is registered.
 *
 * @since 7.0.0
 *
 * @see WP_Connector_Registry::is_registered()
 *
 * @param string $id The connector identifier.
 * @return bool True if the connector is registered, false otherwise.
 */
function wp_is_connector_registered( string $id ): bool {
	$registry = WP_Connector_Registry::get_instance();
	if ( null === $registry ) {
		return false;
	}

	return $registry->is_registered( $id );
}

/**
 * Retrieves a registered connector.
 *
 * @since 7.0.0
 *
 * @see WP_Connector_Registry::get_registered()
 *
 * @param string $id The connector identifier.
 * @return array|null {
 *     Connector data, or null if not registered.
 *
 *     @type string $name           The connector's display name.
 *     @type string $description    The connector's description.
 *     @type string $logo_url       Optional. URL to the connector's logo image.
 *     @type string $type           The connector type, e.g. 'ai_provider'.
 *     @type array  $authentication {
 *         Authentication configuration. When method is 'api_key', includes
 *         credentials_url, setting_name, and optionally constant_name and
 *         env_var_name. When 'none', only method is present.
 *
 *         @type string $method          The authentication method: 'api_key' or 'none'.
 *         @type string $credentials_url Optional. URL where users can obtain API credentials.
 *         @type string $setting_name    Optional. The setting name for the API key.
 *         @type string $constant_name   Optional. PHP constant name for the API key.
 *         @type string $env_var_name    Optional. Environment variable name for the API key.
 *     }
 *     @type array  $plugin         {
 *         Optional. Plugin data for install/activate UI.
 *
 *         @type string   $file      The plugin's main file path relative to the plugins
 *                                   directory (e.g. 'my-plugin/my-plugin.php' or 'hello.php').
 *         @type callable $is_active Callback to determine whether the plugin is active. Receives no arguments and must return bool.
 *                                   Defaults to `__return_true`.
 *     }
 * }
 * @phpstan-return ?array{
 *     name: non-empty-string,
 *     description: string,
 *     logo_url?: non-empty-string,
 *     type: non-empty-string,
 *     authentication: array{
 *         method: 'api_key'|'none',
 *         credentials_url?: non-empty-string,
 *         setting_name?: non-empty-string,
 *         constant_name?: non-empty-string,
 *         env_var_name?: non-empty-string
 *     },
 *     plugin: array{
 *         file?: non-empty-string,
 *         is_active: callable(): bool,
 *     }
 * }
 */
function wp_get_connector( string $id ): ?array {
	$registry = WP_Connector_Registry::get_instance();
	if ( null === $registry ) {
		return null;
	}

	return $registry->get_registered( $id );
}

/**
 * Retrieves all registered connectors.
 *
 * @since 7.0.0
 *
 * @see WP_Connector_Registry::get_all_registered()
 *
 * @return array {
 *     Connector settings keyed by connector ID.
 *
 *     @type array ...$0 {
 *         Data for a single connector.
 *
 *         @type string      $name           The connector's display name.
 *         @type string      $description    The connector's description.
 *         @type string      $logo_url       Optional. URL to the connector's logo image.
 *         @type string      $type           The connector type, e.g. 'ai_provider'.
 *         @type array       $authentication {
 *             Authentication configuration. When method is 'api_key', includes
 *             credentials_url, setting_name, and optionally constant_name and
 *             env_var_name. When 'none', only method is present.
 *
 *             @type string $method          The authentication method: 'api_key' or 'none'.
 *             @type string $credentials_url Optional. URL where users can obtain API credentials.
 *             @type string $setting_name    Optional. The setting name for the API key.
 *             @type string $constant_name   Optional. PHP constant name for the API key.
 *             @type string $env_var_name    Optional. Environment variable name for the API key.
 *         }
 *         @type array       $plugin         {
 *             Optional. Plugin data for install/activate UI.
 *
 *             @type string   $file      The plugin's main file path relative to the plugins
 *                                       directory (e.g. 'my-plugin/my-plugin.php' or 'hello.php').
 *             @type callable $is_active Callback to determine whether the plugin is active. Receives no arguments and must return bool.
 *                                       Defaults to `__return_true`.
 *         }
 *     }
 * }
 * @phpstan-return array<string, array{
 *     name: non-empty-string,
 *     description: string,
 *     logo_url?: non-empty-string,
 *     type: non-empty-string,
 *     authentication: array{
 *         method: 'api_key'|'none',
 *         credentials_url?: non-empty-string,
 *         setting_name?: non-empty-string,
 *         constant_name?: non-empty-string,
 *         env_var_name?: non-empty-string
 *     },
 *     plugin: array{
 *         file?: non-empty-string,
 *         is_active: callable(): bool,
 *     }
 * }>
 */
function wp_get_connectors(): array {
	$registry = WP_Connector_Registry::get_instance();
	if ( null === $registry ) {
		return array();
	}

	return $registry->get_all_registered();
}

/**
 * Resolves an AI provider logo file path to a URL.
 *
 * Converts an absolute file path to a plugin URL. The path must reside within
 * the plugins or must-use plugins directory.
 *
 * @since 7.0.0
 * @access private
 *
 * @param string $path Absolute path to the logo file.
 * @return non-empty-string|null The URL to the logo file, or null if the path is invalid.
 */
function _wp_connectors_resolve_ai_provider_logo_url( string $path ): ?string {
	if ( ! $path ) {
		return null;
	}

	$path = wp_normalize_path( $path );

	if ( ! file_exists( $path ) ) {
		return null;
	}

	$mu_plugin_dir = wp_normalize_path( WPMU_PLUGIN_DIR );
	if ( str_starts_with( $path, $mu_plugin_dir . '/' ) ) {
		$logo_url = plugins_url( substr( $path, strlen( $mu_plugin_dir ) ), WPMU_PLUGIN_DIR . '/.' );
		return $logo_url ? $logo_url : null;
	}

	$plugin_dir = wp_normalize_path( WP_PLUGIN_DIR );
	if ( str_starts_with( $path, $plugin_dir . '/' ) ) {
		$logo_url = plugins_url( substr( $path, strlen( $plugin_dir ) ) );
		return $logo_url ? $logo_url : null;
	}

	_doing_it_wrong(
		__FUNCTION__,
		__( 'Provider logo path must be located within the plugins or must-use plugins directory.' ),
		'7.0.0'
	);

	return null;
}

/**
 * Initializes the connector registry with default connectors and fires the registration action.
 *
 * Creates the registry instance, registers built-in connectors (which cannot be unhooked),
 * and then fires the `wp_connectors_init` action for plugins to register their own connectors.
 *
 * @since 7.0.0
 * @access private
 */
function _wp_connectors_init(): void {
	$registry = new WP_Connector_Registry();
	WP_Connector_Registry::set_instance( $registry );

	// Only register default AI providers if AI support is enabled.
	if ( wp_supports_ai() ) {
		_wp_connectors_register_default_ai_providers( $registry );
	}

	// Non-AI default connectors.
	$registry->register(
		'akismet',
		array(
			'name'           => __( 'Akismet Anti-spam' ),
			'description'    => __( 'Protect your site from spam.' ),
			'type'           => 'spam_filtering',
			'plugin'         => array(
				'file'      => 'akismet/akismet.php',
				'is_active' => static function () {
					return defined( 'AKISMET_VERSION' );
				},
			),
			'authentication' => array(
				'method'          => 'api_key',
				'credentials_url' => 'https://akismet.com/get/',
				'setting_name'    => 'wordpress_api_key',
				'constant_name'   => 'WPCOM_API_KEY',
			),
		)
	);

	/**
	 * Fires when the connector registry is ready for plugins to register connectors.
	 *
	 * Built-in connectors and any AI providers auto-discovered from the WP AI Client
	 * registry have already been registered at this point and cannot be unhooked.
	 *
	 * AI provider plugins that register with the WP AI Client do not need to use
	 * this action — their connectors are created automatically. This action is
	 * primarily for registering non-AI-provider connectors or overriding metadata
	 * on existing connectors.
	 *
	 * Use `$registry->register()` within this action to add new connectors.
	 * To override an existing connector, unregister it first, then re-register
	 * with updated data.
	 *
	 * Example — overriding metadata on an auto-discovered connector:
	 *
	 *     add_action( 'wp_connectors_init', function ( WP_Connector_Registry $registry ) {
	 *         if ( $registry->is_registered( 'anthropic' ) ) {
	 *             $connector = $registry->unregister( 'anthropic' );
	 *             $connector['description'] = __( 'Custom description for Anthropic.', 'my-plugin' );
	 *             $registry->register( 'anthropic', $connector );
	 *         }
	 *     } );
	 *
	 * @since 7.0.0
	 *
	 * @param WP_Connector_Registry $registry Connector registry instance.
	 */
	do_action( 'wp_connectors_init', $registry );
}

/**
 * Registers connectors for the built-in AI providers.
 *
 * @since 7.0.0
 * @access private
 *
 * @param WP_Connector_Registry $registry The connector registry instance.
 */
function _wp_connectors_register_default_ai_providers( WP_Connector_Registry $registry ): void {
	// Built-in connectors.
	$defaults = array(
		'anthropic' => array(
			'name'           => 'Anthropic',
			'description'    => __( 'Text generation with Claude.' ),
			'type'           => 'ai_provider',
			'plugin'         => array(
				'file' => 'ai-provider-for-anthropic/plugin.php',
			),
			'authentication' => array(
				'method'          => 'api_key',
				'credentials_url' => 'https://platform.claude.com/settings/keys',
			),
		),
		'google'    => array(
			'name'           => 'Google',
			'description'    => __( 'Text and image generation with Gemini and Imagen.' ),
			'type'           => 'ai_provider',
			'plugin'         => array(
				'file' => 'ai-provider-for-google/plugin.php',
			),
			'authentication' => array(
				'method'          => 'api_key',
				'credentials_url' => 'https://aistudio.google.com/api-keys',
			),
		),
		'openai'    => array(
			'name'           => 'OpenAI',
			'description'    => __( 'Text and image generation with GPT and Dall-E.' ),
			'type'           => 'ai_provider',
			'plugin'         => array(
				'file' => 'ai-provider-for-openai/plugin.php',
			),
			'authentication' => array(
				'method'          => 'api_key',
				'credentials_url' => 'https://platform.openai.com/api-keys',
			),
		),
	);

	// Merge AI Client registry data on top of defaults.
	// Registry values (from provider plugins) take precedence over hardcoded fallbacks.
	$ai_registry = AiClient::defaultRegistry();

	foreach ( array_filter( $ai_registry->getRegisteredProviderIds() ) as $connector_id ) {
		$provider_class_name = $ai_registry->getProviderClassName( $connector_id );
		$provider_metadata   = $provider_class_name::metadata();

		$auth_method = $provider_metadata->getAuthenticationMethod();
		$is_api_key  = null !== $auth_method && $auth_method->isApiKey();

		if ( $is_api_key ) {
			$credentials_url = $provider_metadata->getCredentialsUrl();
			$authentication  = array(
				'method' => 'api_key',
			);
			if ( $credentials_url ) {
				$authentication['credentials_url'] = $credentials_url;
			}
		} else {
			$authentication = array( 'method' => 'none' );
		}

		$name        = $provider_metadata->getName();
		$description = $provider_metadata->getDescription();
		$logo_url    = $provider_metadata->getLogoPath()
			? _wp_connectors_resolve_ai_provider_logo_url( $provider_metadata->getLogoPath() )
			: null;

		if ( isset( $defaults[ $connector_id ] ) ) {
			// Override fields with non-empty registry values.
			if ( $name ) {
				$defaults[ $connector_id ]['name'] = $name;
			}
			if ( $description ) {
				$defaults[ $connector_id ]['description'] = $description;
			}
			if ( $logo_url ) {
				$defaults[ $connector_id ]['logo_url'] = $logo_url;
			}
			// Always update auth method; keep existing credentials_url as fallback.
			$defaults[ $connector_id ]['authentication']['method'] = $authentication['method'];
			if ( ! empty( $authentication['credentials_url'] ) ) {
				$defaults[ $connector_id ]['authentication']['credentials_url'] = $authentication['credentials_url'];
			}
		} else {
			$defaults[ $connector_id ] = array(
				'name'           => $name ? $name : ucwords( $connector_id ),
				'description'    => $description ? $description : '',
				'type'           => 'ai_provider',
				'authentication' => $authentication,
			);
			if ( $logo_url ) {
				$defaults[ $connector_id ]['logo_url'] = $logo_url;
			}
		}
	}

	// Register all default connectors directly on the registry.
	foreach ( $defaults as $id => $args ) {
		if ( 'api_key' === $args['authentication']['method'] ) {
			$sanitized_id = str_replace( '-', '_', $id );

			$args['authentication']['setting_name'] = "connectors_ai_{$sanitized_id}_api_key";

			// All AI providers use the {CONSTANT_CASE_ID}_API_KEY naming convention.
			$constant_case_key = strtoupper( (string) preg_replace( '/([a-z])([A-Z])/', '$1_$2', $sanitized_id ) ) . '_API_KEY';

			$args['authentication']['constant_name'] = $constant_case_key;
			$args['authentication']['env_var_name']  = $constant_case_key;
		}

		$args['plugin']['is_active'] = static function () use ( $ai_registry, $id ): bool {
			try {
				return $ai_registry->hasProvider( $id );
			} catch ( Exception $e ) {
				return false;
			}
		};

		$registry->register( $id, $args );
	}
}

/**
 * Masks an API key, showing only the last 4 characters.
 *
 * @since 7.0.0
 * @access private
 *
 * @param string $key The API key to mask.
 * @return string The masked key, e.g. "************fj39".
 */
function _wp_connectors_mask_api_key( string $key ): string {
	if ( strlen( $key ) <= 4 ) {
		return $key;
	}

	return str_repeat( "\u{2022}", min( strlen( $key ) - 4, 16 ) ) . substr( $key, -4 );
}

/**
 * Determines the source of an API key for a given connector.
 *
 * Checks in order: environment variable, PHP constant, database.
 * Environment variable and constant are only checked when their
 * respective names are provided.
 *
 * @since 7.0.0
 * @access private
 *
 * @param string $setting_name  The option name for the API key (e.g., 'connectors_spam_filtering_my_plugin_api_key').
 * @param string $env_var_name  Optional. Environment variable name to check (e.g., 'MY_PLUGIN_API_KEY').
 * @param string $constant_name Optional. PHP constant name to check (e.g., 'MY_PLUGIN_API_KEY').
 * @return string The key source: 'env', 'constant', 'database', or 'none'.
 */
function _wp_connectors_get_api_key_source( string $setting_name, string $env_var_name = '', string $constant_name = '' ): string {
	// Check environment variable first.
	if ( '' !== $env_var_name ) {
		$env_value = getenv( $env_var_name );
		if ( false !== $env_value && '' !== $env_value ) {
			return 'env';
		}
	}

	// Check PHP constant.
	if ( '' !== $constant_name && defined( $constant_name ) ) {
		$const_value = constant( $constant_name );
		if ( is_string( $const_value ) && '' !== $const_value ) {
			return 'constant';
		}
	}

	// Check database.
	$db_value = get_option( $setting_name, '' );
	if ( '' !== $db_value ) {
		return 'database';
	}

	return 'none';
}

/**
 * Checks whether an API key is valid for a given provider.
 *
 * @since 7.0.0
 * @access private
 *
 * @param string $key         The API key to check.
 * @param string $provider_id The WP AI client provider ID.
 * @return bool|null True if valid, false if invalid, null if unable to determine.
 */
function _wp_connectors_is_ai_api_key_valid( string $key, string $provider_id ): ?bool {
	try {
		$registry = AiClient::defaultRegistry();

		if ( ! $registry->hasProvider( $provider_id ) ) {
			_doing_it_wrong(
				__FUNCTION__,
				sprintf(
					/* translators: %s: AI provider ID. */
					__( 'The provider "%s" is not registered in the AI client registry.' ),
					$provider_id
				),
				'7.0.0'
			);
			return null;
		}

		$registry->setProviderRequestAuthentication(
			$provider_id,
			new ApiKeyRequestAuthentication( $key )
		);

		return $registry->isProviderConfigured( $provider_id );
	} catch ( Exception $e ) {
		wp_trigger_error( __FUNCTION__, $e->getMessage() );
		return null;
	}
}

/**
 * Masks and validates connector API keys in REST responses.
 *
 * On every `/wp/v2/settings` response, masks connector API key values so raw
 * keys are never exposed via the REST API.
 *
 * On POST or PUT requests, validates each updated key against the provider
 * before masking. If validation fails, the key is reverted to an empty string.
 *
 * @since 7.0.0
 * @access private
 *
 * @param WP_REST_Response $response The response object.
 * @param WP_REST_Server   $server   The server instance.
 * @param WP_REST_Request  $request  The request object.
 * @return WP_REST_Response The modified response with masked/validated keys.
 */
function _wp_connectors_rest_settings_dispatch( WP_REST_Response $response, WP_REST_Server $server, WP_REST_Request $request ): WP_REST_Response {
	if ( '/wp/v2/settings' !== $request->get_route() ) {
		return $response;
	}

	$data = $response->get_data();
	if ( ! is_array( $data ) ) {
		return $response;
	}

	$is_update = 'POST' === $request->get_method() || 'PUT' === $request->get_method();

	foreach ( wp_get_connectors() as $connector_id => $connector_data ) {
		$auth = $connector_data['authentication'];
		if ( 'api_key' !== $auth['method'] || empty( $auth['setting_name'] ) ) {
			continue;
		}

		$setting_name = $auth['setting_name'];
		if ( ! array_key_exists( $setting_name, $data ) ) {
			continue;
		}

		$value = $data[ $setting_name ];

		// On update, validate AI provider keys before masking.
		// Non-AI connectors accept keys as-is; the service plugin handles its own validation.
		if ( $is_update && is_string( $value ) && '' !== $value && 'ai_provider' === $connector_data['type'] ) {
			if ( true !== _wp_connectors_is_ai_api_key_valid( $value, $connector_id ) ) {
				update_option( $setting_name, '' );
				$data[ $setting_name ] = '';
				continue;
			}
		}

		// Mask the key in the response.
		if ( is_string( $value ) && '' !== $value ) {
			$data[ $setting_name ] = _wp_connectors_mask_api_key( $value );
		}
	}

	$response->set_data( $data );
	return $response;
}
add_filter( 'rest_post_dispatch', '_wp_connectors_rest_settings_dispatch', 10, 3 );

/**
 * Registers default connector settings.
 *
 * @since 7.0.0
 * @access private
 */
function _wp_register_default_connector_settings(): void {
	$registered_settings = get_registered_settings();

	foreach ( wp_get_connectors() as $connector_data ) {
		$auth = $connector_data['authentication'];
		if ( 'api_key' !== $auth['method'] || empty( $auth['setting_name'] ) ) {
			continue;
		}

		// Skip if the setting is already registered (e.g. by an owning plugin).
		if ( isset( $registered_settings[ $auth['setting_name'] ] ) ) {
			continue;
		}

		if ( ! isset( $connector_data['plugin']['is_active'] ) || ! is_callable( $connector_data['plugin']['is_active'] ) ) {
			continue;
		}

		if ( ! call_user_func( $connector_data['plugin']['is_active'] ) ) {
			continue;
		}

		register_setting(
			'connectors',
			$auth['setting_name'],
			array(
				'type'              => 'string',
				'label'             => sprintf(
					/* translators: %s: Connector name. */
					__( '%s API Key' ),
					$connector_data['name']
				),
				'description'       => sprintf(
					/* translators: %s: Connector name. */
					__( 'API key for the %s connector.' ),
					$connector_data['name']
				),
				'default'           => '',
				'show_in_rest'      => true,
				'sanitize_callback' => 'sanitize_text_field',
			)
		);
	}
}
add_action( 'init', '_wp_register_default_connector_settings', 20 );

/**
 * Passes stored connector API keys to the WP AI client.
 *
 * @since 7.0.0
 * @access private
 */
function _wp_connectors_pass_default_keys_to_ai_client(): void {
	try {
		$ai_registry = AiClient::defaultRegistry();
		foreach ( wp_get_connectors() as $connector_id => $connector_data ) {
			if ( 'ai_provider' !== $connector_data['type'] ) {
				continue;
			}

			$auth = $connector_data['authentication'];
			if ( 'api_key' !== $auth['method'] || empty( $auth['setting_name'] ) ) {
				continue;
			}

			if ( ! $ai_registry->hasProvider( $connector_id ) ) {
				continue;
			}

			// Skip if the key is already provided via env var or constant.
			$key_source = _wp_connectors_get_api_key_source( $auth['setting_name'], $auth['env_var_name'] ?? '', $auth['constant_name'] ?? '' );
			if ( 'env' === $key_source || 'constant' === $key_source ) {
				continue;
			}

			$api_key = get_option( $auth['setting_name'], '' );
			if ( ! is_string( $api_key ) || '' === $api_key ) {
				continue;
			}

			$ai_registry->setProviderRequestAuthentication(
				$connector_id,
				new ApiKeyRequestAuthentication( $api_key )
			);
		}
	} catch ( Exception $e ) {
		wp_trigger_error( __FUNCTION__, $e->getMessage() );
	}
}
add_action( 'init', '_wp_connectors_pass_default_keys_to_ai_client', 20 );

/**
 * Exposes connector settings to the connectors-wp-admin script module.
 *
 * @since 7.0.0
 * @access private
 *
 * @param array<string, mixed> $data Existing script module data.
 * @return array<string, mixed> Script module data with connectors added.
 */
function _wp_connectors_get_connector_script_module_data( array $data ): array {
	$registry = AiClient::defaultRegistry();

	if ( ! function_exists( 'validate_plugin' ) ) {
		require_once ABSPATH . 'wp-admin/includes/plugin.php';
	}

	$connectors = array();
	foreach ( wp_get_connectors() as $connector_id => $connector_data ) {
		$auth     = $connector_data['authentication'];
		$auth_out = array( 'method' => $auth['method'] );

		if ( 'api_key' === $auth['method'] ) {
			$auth_out['settingName']    = $auth['setting_name'] ?? '';
			$auth_out['credentialsUrl'] = $auth['credentials_url'] ?? null;
			$key_source                 = _wp_connectors_get_api_key_source( $auth['setting_name'] ?? '', $auth['env_var_name'] ?? '', $auth['constant_name'] ?? '' );
			$auth_out['keySource']      = $key_source;

			if ( 'ai_provider' === $connector_data['type'] ) {
				try {
					$auth_out['isConnected'] = $registry->hasProvider( $connector_id ) && $registry->isProviderConfigured( $connector_id );
				} catch ( Exception $e ) {
					$auth_out['isConnected'] = false;
				}
			} else {
				$auth_out['isConnected'] = 'none' !== $key_source;
			}
		}

		$connector_out = array(
			'name'           => $connector_data['name'],
			'description'    => $connector_data['description'],
			'logoUrl'        => ! empty( $connector_data['logo_url'] ) ? $connector_data['logo_url'] : null,
			'type'           => $connector_data['type'],
			'authentication' => $auth_out,
		);

		if ( ! empty( $connector_data['plugin']['file'] ) ) {
			$file         = $connector_data['plugin']['file'];
			$is_activated = (bool) call_user_func( $connector_data['plugin']['is_active'] );
			$is_installed = $is_activated || 0 === validate_plugin( $file );

			$connector_out['plugin'] = array(
				'file'        => $file,
				'isInstalled' => $is_installed,
				'isActivated' => $is_activated,
			);
		}

		$connectors[ $connector_id ] = $connector_out;
	}
	ksort( $connectors );
	$data['connectors']        = $connectors;
	$data['isFileModDisabled'] = ! wp_is_file_mod_allowed( 'install_plugins' );
	return $data;
}
add_filter( 'script_module_data_options-connectors-wp-admin', '_wp_connectors_get_connector_script_module_data' );

Directory Contents

Dirs: 33 × Files: 257
Name Size Perms Modified Actions
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
ai-client DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
assets DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
blocks DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
build DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
css DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
customize DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
fonts DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
html-api DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
ID3 DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
images DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
IXR DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
js DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
l10n DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
PHPMailer DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
pomo DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
Requests DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
rest-api DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
SimplePie DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
sitemaps DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
Text DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
widgets DIR
- drwxr-xr-x 2026-07-27 19:13:23
Edit Download
23.80 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
7.82 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
38.39 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.49 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
11.90 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
19.38 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.35 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
28.05 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
316 B lrw-r--r-- 2021-08-11 09:08:01
Edit Download
15.24 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
61.33 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
17.83 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
116.64 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
12.47 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
15.07 KB lrw-r--r-- 2024-07-17 01:21:12
Edit Download
10.76 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
13.17 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
33.83 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
42.61 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
55.65 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
12.53 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
29.30 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
539 B lrw-r--r-- 2024-11-13 02:20:25
Edit Download
367 B lrw-r--r-- 2022-11-02 04:48:19
Edit Download
2.55 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
42.65 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
401 B lrw-r--r-- 2022-11-02 04:48:20
Edit Download
6.61 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
664 B lrw-r--r-- 2020-07-21 12:58:02
Edit Download
20.63 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
2.18 KB lrw-r--r-- 2023-08-09 04:35:47
Edit Download
453 B lrw-r--r-- 2024-11-13 02:20:25
Edit Download
457 B lrw-r--r-- 2021-01-26 13:45:57
Edit Download
36.83 KB lrw-r--r-- 2023-03-30 04:40:00
Edit Download
2.41 KB lrw-r--r-- 2023-11-08 04:28:28
Edit Download
8.28 KB lrw-r--r-- 2023-11-08 04:28:29
Edit Download
13.89 KB lrw-r--r-- 2024-07-17 01:21:12
Edit Download
11.76 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
2.65 KB lrw-r--r-- 2023-11-08 04:28:28
Edit Download
7.43 KB lrw-r--r-- 2023-11-08 04:28:28
Edit Download
17.58 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
5.14 KB lrw-r--r-- 2022-11-02 04:48:20
Edit Download
16.70 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
8.07 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.92 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
1.32 KB lrw-r--r-- 2022-11-02 04:48:20
Edit Download
4.60 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
11.57 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.50 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
1.95 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
11.25 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
4.28 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
10.07 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
68.32 KB lrw-r--r-- 2026-02-12 14:08:38
Edit Download
6.27 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
6.40 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
1.99 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
6.91 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
4.91 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
16.83 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
24.14 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
3.93 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
47.49 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
9.15 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
14.07 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
25.51 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
198.13 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
56.61 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
10.46 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
10.95 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
29.26 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
70.89 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
35.13 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
16.69 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.59 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
39.95 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
70.54 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
15.54 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.33 KB lrw-r--r-- 2023-03-30 04:39:59
Edit Download
253 B lrw-r--r-- 2024-11-13 02:20:25
Edit Download
7.96 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
3.23 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
969 B lrw-r--r-- 2024-11-13 02:20:25
Edit Download
16.25 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.10 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
12.95 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
6.53 KB lrw-r--r-- 2023-08-09 04:35:47
Edit Download
3.43 KB lrw-r--r-- 2026-06-07 20:00:04
Edit Download
5.84 KB lrw-r--r-- 2023-08-09 04:35:47
Edit Download
1.97 KB lrw-r--r-- 2023-03-30 04:40:00
Edit Download
4.14 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.91 KB lrw-r--r-- 2022-11-02 04:48:20
Edit Download
16.37 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
40.67 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.67 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
20.22 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
36.11 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
17.01 KB lrw-r--r-- 2026-06-07 20:00:04
Edit Download
7.27 KB lrw-r--r-- 2023-11-08 04:28:28
Edit Download
6.62 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
16.45 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
1.79 KB lrw-r--r-- 2024-04-04 04:45:29
Edit Download
29.79 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
6.67 KB lrw-r--r-- 2023-08-09 04:35:47
Edit Download
8.98 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
19.25 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
12.01 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
17.11 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
6.74 KB lrw-r--r-- 2024-07-17 01:21:12
Edit Download
30.86 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
4.95 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
4.25 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
24.59 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
29.95 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
6.33 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
159.50 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
6.72 KB lrw-r--r-- 2022-11-02 04:48:20
Edit Download
10.90 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
4.80 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
3.44 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
11.18 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
62.20 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.46 KB lrw-r--r-- 2023-11-08 04:28:29
Edit Download
9.10 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
39.65 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
35.93 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.15 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
3.47 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
1.87 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
30.74 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.28 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.38 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
13.04 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
19.12 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
18.12 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
39.80 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
5.14 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
979 B lrw-r--r-- 2024-04-04 04:45:29
Edit Download
18.49 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
10.24 KB lrw-r--r-- 2024-11-22 02:17:39
Edit Download
1.77 KB lrw-r--r-- 2024-07-17 01:21:12
Edit Download
34.86 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.19 KB lrw-r--r-- 2024-07-17 01:21:12
Edit Download
169.57 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
64.22 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
27.95 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
4.69 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
2.88 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
43.07 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.25 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
22.48 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
13.01 KB lrw-r--r-- 2024-09-11 01:20:33
Edit Download
3.27 KB lrw-r--r-- 2022-11-02 04:48:20
Edit Download
17.99 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
209.98 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
25.75 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
115.86 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
373 B lrw-r--r-- 2022-11-02 04:48:19
Edit Download
343 B lrw-r--r-- 2022-11-02 04:48:20
Edit Download
338 B lrw-r--r-- 2022-11-02 04:48:20
Edit Download
2.11 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
100.79 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
130.94 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
19.10 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
15.69 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
23.52 KB lrw-r--r-- 2026-06-07 20:00:04
Edit Download
43.94 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
400 B lrw-r--r-- 2022-11-02 04:48:20
Edit Download
11.10 KB lrw-r--r-- 2024-11-13 02:20:25
Edit Download
36.54 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.24 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
189.43 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
338 B lrw-r--r-- 2022-11-02 04:48:19
Edit Download
37.99 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
4.00 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.50 KB lrw-r--r-- 2025-03-18 15:20:37
Edit Download
5.38 KB lrw-r--r-- 2024-04-04 04:45:28
Edit Download
3.05 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
2.61 KB lrw-r--r-- 2020-01-29 00:45:18
Edit Download
1.16 KB lrw-r--r-- 2020-01-29 00:45:18
Edit Download
4.04 KB lrw-r--r-- 2024-04-04 04:45:28
Edit Download
3.71 KB lrw-r--r-- 2020-01-29 00:45:18
Edit Download
24.60 KB lrw-r--r-- 2026-02-12 14:08:38
Edit Download
14.84 KB lrw-r--r-- 2025-05-20 12:00:00
Edit Download
9.56 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
346.38 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
283.52 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
20.01 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
8.45 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
170.83 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
20.29 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
26.62 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
5.72 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
4.63 KB lrw-r--r-- 2023-08-09 04:35:47
Edit Download
80.64 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
69.74 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
156.39 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
55.15 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
162 B lrw-r--r-- 2019-10-08 17:19:04
Edit Download
61.79 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
218.55 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
65.17 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
25.71 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
4.81 KB lrw-r--r-- 2024-07-17 01:21:13
Edit Download
6.48 KB lrw-r--r-- 2023-03-30 04:39:59
Edit Download
21.24 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.79 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
89.69 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
19.57 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
3.69 KB lrw-r--r-- 2023-08-09 04:35:47
Edit Download
4.11 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
40.75 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
25.38 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
43.23 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
102.62 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
6.18 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
124.57 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
35.65 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
6.90 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
67.01 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
10.62 KB lrw-r--r-- 2025-09-28 15:01:49
Edit Download
289.58 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
36.23 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
200 B lrw-r--r-- 2020-11-12 11:17:07
Edit Download
200 B lrw-r--r-- 2020-11-12 11:17:07
Edit Download
98.52 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
29.99 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
19.00 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
5.06 KB lrw-r--r-- 2022-08-22 15:30:42
Edit Download
255 B lrw-r--r-- 2020-11-16 22:52:05
Edit Download
22.66 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
159.30 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
11.66 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
258 B lrw-r--r-- 2020-02-06 06:33:11
Edit Download
23.47 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
3.16 KB lrw-r--r-- 2021-05-15 17:38:05
Edit Download
8.40 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
441 B lrw-r--r-- 2020-11-12 11:17:07
Edit Download
7.39 KB lrw-r--r-- 2024-07-17 01:21:12
Edit Download
172.99 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
544 B lrw-r--r-- 2023-11-08 04:28:28
Edit Download
4.17 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
35.96 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
1.85 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
2.82 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
3.96 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
8.83 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
131.48 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
37.38 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
174.63 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
7.09 KB lrw-r--r-- 2026-02-01 17:41:08
Edit Download
6.45 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
1.08 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
602 B lrw-r--r-- 2026-06-07 20:00:05
Edit Download
69.17 KB lrw-r--r-- 2026-06-07 20:00:05
Edit Download
445 B lrw-r--r-- 2022-11-02 04:48:19
Edit Download
799 B lrw-r--r-- 2025-09-28 15:01:49
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 0xNothings — Secure File Manager. All rights reserved. Built with ❤️ & Tailwind x Dark UI
Upload
Kotlin Archives - Weelorum https://weelorum.com/technology/kotlin/ Full Cycle Mobile App Development Services For Startups Sun, 01 Mar 2026 20:04:38 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 PayFlow https://weelorum.com/portfolio-projects/payflow/ Sun, 01 Mar 2026 20:04:38 +0000 https://weelorum.com/success-stories/payflow/ PayFlow is a fintech application that simplifies international money transfers and currency exchange. Users can hold multiple currencies, send money globally with competitive rates, and receive instant notifications. The app features biometric authentication and real-time transaction tracking.

Сообщение PayFlow появились сначала на Weelorum.

]]>
PayFlow is a fintech application that simplifies international money transfers and currency exchange. Users can hold multiple currencies, send money globally with competitive rates, and receive instant notifications. The app features biometric authentication and real-time transaction tracking.

Сообщение PayFlow появились сначала на Weelorum.

]]>
Knock Knock https://weelorum.com/portfolio-projects/knock-knock/ Sun, 01 Mar 2026 20:04:37 +0000 https://weelorum.com/success-stories/knock-knock/ Knock Knock is a real-time restaurant discovery app. It shows users what’s happening inside venues, how crowded they are, and offers live previews via photos and video. The app uses geolocation to help people choose where to eat or socialize based on current ambiance.

Сообщение Knock Knock появились сначала на Weelorum.

]]>
Knock Knock is a real-time restaurant discovery app. It shows users what’s happening inside venues, how crowded they are, and offers live previews via photos and video. The app uses geolocation to help people choose where to eat or socialize based on current ambiance.

Сообщение Knock Knock появились сначала на Weelorum.

]]>