/** * wpv_filter_resolve_variable_shortcode_attribute * * Resolves VIEW_PARAM(xxx) matches in the $values string using the View shortcode attributes * * @param $value (string) * @param $attr (array) * * @return $value (string) * * @since 1.8.0 */ function wpv_filter_resolve_variable_shortcode_attribute($value, $attr = array()) { if (is_array($attr) && isset($attr['filters']) && is_array($attr['filters']) && in_array('shortcode_attribute', $attr['filters'])) { $value = wpv_apply_user_function_view_param($value); } return $value; }
function wpv_apply_user_functions($value) { $value = wpv_apply_user_function_url_param($value); $value = wpv_apply_user_function_view_param($value); $value = wpv_apply_user_function_date_compare($value); return $value; }