Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / src/Utilities/ArrayUtil.php

ArrayUtil

Class: A class of utilities for dealing with arrays.

Source: src/Utilities/ArrayUtil.php:11

Used by 0 functions | Uses 0 functions

ArrayUtil::get_nested_value()

Method: Get a value from an nested array by specifying the entire key hierarchy with ‘::’ as separator.

Source: src/Utilities/ArrayUtil.php:24

Used by 0 functions | Uses 0 functions

ArrayUtil::is_truthy()

Method: Checks if a given key exists in an array and its value can be evaluated as ‘true’.

Source: src/Utilities/ArrayUtil.php:55

Used by 0 functions | Uses 0 functions

ArrayUtil::get_value_or_default()

Method: Gets the value for a given key from an array, or a default value if the key doesn’t exist in the array.

Source: src/Utilities/ArrayUtil.php:67

Used by 2 functions | Uses 0 functions
Proudly powered by WordPress