Skip to content
LearnDash

Developers

  • Filter By:

learndash-login-form-args

apply_filters( 'learndash-login-form-args',  array $login_form_args )

Filters list of login form arguments to be used in wp_login_form.

Contents

  • Description
    • Parameters
    • Source
    • Examples

Description #


Parameters #

$login_form_args

(array) An Array of login form arguments to be used in wp_login_form.


Source #

File: themes/ld30/templates/modules/login-modal.php


Examples #

 <?php
/**
 * Example usage for learndash-login-form-args filter.
 */
add_filter(
	'learndash-login-form-args',
	function( $login_form_args ) {
		// May add any custom logic using $login_form_args.

		// Always return $login_form_args.
		return $login_form_args;
	}
);
 

Expand example code Copy to clipboard

Post navigation

← Previous Hook
Next Hook →

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