Callback for array_filter. Will return FALSE if strlen < 3.

Parameters

string $value: A value from an array/object.

int $min_len: The strlen check length.

Return value

bool TRUE or FALSE.

1 call to advagg_remove_short_keys()
advagg_cleanup_settings_array in ./advagg.module
Shrink the ajaxPageState data.

File

./advagg.module, line 3094

Code

function advagg_remove_short_keys($value, $min_len = 3) {
    if (strlen($value) < $min_len) {
        return TRUE;
    }
    else {
        return FALSE;
    }
}