Browse: Home / Classes / SFWD_LMS /


SFWD_LMS::usermeta_shortcode( array $attr,  string $content = '' )

[usermeta] shortcode

Description #

This shortcode takes a parameter named field, which is the name of the user meta data field to be displayed. Example: [usermeta field="display_name"] would display the user’s Display Name.

Parameters #


(array) (Required) shortcode attributes.


(string) (Optional) content of shortcode.

Default value: ''

Return #

(string) output of shortcode.

Source #

File: includes/class-ld-lms.php

Changelog #

Version Description
2.1.0 Introduced.