bbp_get_displayed_user_id

  • apply_filters( 'bbp_get_displayed_user_id', bbp_get_user_id( 0, true, false ) )

    Source Reference:

    • Component: bbPress :: bbp-user
      File: /bbp-includes/bbp-user-template.php :: Trac Source Line: 105
      	 * Return ID of displayed user
      	 *
      	 * @since bbPress (r2688)
      	 *
      	 * @uses bbp_get_user_id() To get the displayed user id
      	 * @uses apply_filters() Calls 'bbp_get_displayed_user_id' with the id
      	 * @return int Displayed user id
      	 */
      	function bbp_get_displayed_user_id() {
      		return apply_filters( 'bbp_get_displayed_user_id', bbp_get_user_id( 0, true, false ) );
      	}
      
      /**
       * Return a sanitized user field value
       *
       * @since bbPress (r2688)
       *
       * @param string $field Field to get
       * @uses sanitize_text_field() To sanitize the field
       * @uses esc_attr() To sanitize the field
      

Comments are closed.