apply_filters( 'learndash_usermeta_shortcode_available_fields', array $available_fields, array $attributes )

Filters the usermeta shortcode available fields.


Description Description

Added logic to allow protect certain user meta fields. The default fields is based on some of the fields returned via get_userdata().


Parameters Parameters

$available_fields

An array of available shortcode fields.

$attributes

An array of attributes to provide context for the filter.


Top ↑

Source Source

File: includes/ld-users.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.