• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / Hooks / LLMS_Shortcode_User_Info::get_output / llms_user_info_shortcode_user_id

apply_filters( 'llms_user_info_shortcode_user_id', integer $user_id )

Filters the user used to retrieve user information displayed by the [llms-user] shortcode

Contents

  • Parameters
  • Source
  • Related
    • Used By
  • Changelog
  • User Contributed Notes

Parameters #Parameters

$user_id

(integer) The WP_User ID of the currently logged-in user or 0 if no user logged in.


Top ↑

Source #Source

File: includes/shortcodes/class-llms-shortcode-user-info.php

View on GitHub


Top ↑

Related #Related

Used By #Used By

Used By
Used By Description
includes/shortcodes/class-llms-shortcode-user-info.php: LLMS_Shortcode_User_Info::get_output()

Retrieve the actual content of the shortcode


Top ↑

Changelog #Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

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

© 2014 - 2023 LifterLMS · Privacy Policy · Terms and Conditions

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.