$forms_exist
$forms_exist : array
Class Shortcodes
$forms_exist : array
$profile_role : string
$message_mode : bool
$custom_message : string
$loop : array
$emoji : array
$form_id : null|int
$form_status : null|string
$set_args : array
author_profile_link(array $attr = array(), string $content = '') : string
Display post author's link to UM User Profile.
array | $attr | { Attributes of the shortcode.
} |
string | $content |
Profile link HTML or profile link URL if the link text is empty.
um_shortcode_show_content_for_role(array $atts = array(), string $content = '') : string
Shortcode: Show custom content to specific role
Show content to specific roles [um_show_content roles='member'] <!-- insert content here --> [/um_show_content] You can add multiple target roles, just use ',' e.g. [um_show_content roles='member,candidates,pets']
Hide content from specific roles [um_show_content not='contributors'] <!-- insert content here --> [/um_show_content] You can add multiple target roles, just use ',' e.g. [um_show_content roles='member,candidates,pets']
array | $atts | |
string | $content |