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

[usermeta] shortcode


Description 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 Parameters

$attr

(Required) shortcode attributes

$content

(Optional) content of shortcode

Default value: ''


Top ↑

Return Return

(string) output of shortcode


Top ↑

Source Source

File: includes/class-ld-lms.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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