LLMS_Admin_Table::get_user_link( int $user_id, string $text = '' )
Get the HTML for a WP User Link.
Parameters Parameters
- $user_id
-
(int) (Required) WP User ID
- $text
-
(string) (Optional) text to display within the anchor, if none supplied $user_id if used
Default value: ''
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
public function get_user_link( $user_id, $text = '' ) { if ( ! $text ) { $text = $user_id; } return '<a href="' . esc_url( get_edit_user_link( $user_id ) ) . '">' . $text . '</a>'; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.17.2 | Introduced. |