Skip to content
LearnDash

Developers

  • Filter By:

learndash-register-modal-errors-after

do_action( 'learndash-register-modal-errors-after',  array $errors )

Fires after the register modal errors.

Contents

  • Description
    • Parameters
    • Source
    • Examples
    • Changelog

Description #


Parameters #

$errors

(array) An array of error details.


Source #

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


Examples #

 <?php
/**
 * Example usage for learndash-register-modal-errors-after action.
 */
add_action(
	'learndash-register-modal-errors-after',
	function( $errors ) {
		// May add any custom logic using $errors

		echo '<div>Custom content or markup</div>';
	}
);
 

Expand example code Copy to clipboard


Changelog #

Changelog
Version Description
3.0.0 Introduced.

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