LLMS_Shortcode_User_Info::get_blocklist()
Retrieves a list of keys that cannot be displayed by the shortcode.
Return Return
(string[])
Source Source
File: includes/shortcodes/class-llms-shortcode-user-info.php
protected function get_blocklist() {
/**
* Filters the list of keys which cannot be displayed using the [user] shortcode
*
* @since 5.0.0
*
* @param string[] $keys List of user and usermeta keys.
*/
return apply_filters( 'llms_user_info_shortcode_blocked_keys', array( 'user_pass' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |