This hook has been deprecated.
apply_filters_deprecated( 'learndash-registration-errors', array<string,string> $registration_errors )
Filters a list of user registration errors.
Description #
Parameters #
- $registration_errors
-
(<span class="array">array) An array of registration errors and descriptions.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_lesson_progress filter.
*/
add_filter(
'learndash_lesson_progress',
function( $progress, $post ) {
// May add any custom logic using $progress, $post.
// Always return $progress.
return $progress;
},
10,
2
);
Changelog #
| Version | Description |
|---|---|
| 4.5.0 | This hook has been deprecated. |
| 3.0.0 | Introduced. This hook has been deprecated. |