Skip to content
LearnDash

Developers

  • Filter By:

learndash_add_login_field_top

learndash_add_login_field_top( string $content = '' )

Adds a hidden form field to the login form.

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses

Description #

Fires on login_form_top hook.


Parameters #

$content

(string) (Optional) Login form content.

Default value: ''


Return #

(string) Login form hidden field content.


Source #

File: themes/ld30/includes/login-register-functions.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.

Related #

Uses #

Uses
Uses Description
themes/ld30/includes/login-register-functions.php: learndash_login_form_include_group

Filters whether to allow enrolment of course with the login. The default value is true.

themes/ld30/includes/login-register-functions.php: learndash_login_form_include_course

Filters whether to allow enrolment of course with the login. The default value is true.

includes/ld-misc-functions.php: learndash_get_setting ()

Gets the LearnDash setting for a post.

includes/class-ldlms-post-types.php: learndash_get_post_types ()

This function is documented in includes/class-ldlms-post-types.php

includes/class-ldlms-post-types.php: learndash_get_post_type_slug ()

This function is documented in includes/class-ldlms-post-types.php

includes/course/ld-course-functions.php: learndash_get_course_id ()

Gets the course ID for a resource.

Post navigation

← Previous Function
Next Function →

The Most Trusted Online Course Platform for WordPress.

Get Started Demo

  • Features
  • Dynamic Learning
  • Marketing and Sales
  • Integrations
  • Course Management
  • Resources
  • Blog
  • Webinars
  • Videos
  • Case Studies
  • Add-ons
  • Online Demo
  • Company
  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
LearnDash LearnDash® Copyright© 2012-2021. All rights reserved.
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube