Parent and Student Access for LearnDash Actions & Filters for Developers - Honors WP

Actions & Filters for Developers

Parent & Student Access for LearnDash Filters

Support BuddyBoss Theme Registration Page #

If you are using the BuddyBoss platform with a BuddyBoss theme, you will need this custom code because the BuddyBoss platform overrides the registration page.

  • Use this filter to add the checkbox markup like this function add_parent_field_to_register_form already in student-parent plugin.
  • Use this filter to change the user role to the parent from the subscriber.
  • Use this filter to keep the role parent if this bp_core_signup_user filter doesn’t work to change the role because when it activates the user in the Buddyboss platform then it activates the user as a subscriber.

Require Date of Birth #

Use this filter to require a date of birth when adding a student/child account without an email address.

if ( apply_filters( 'learndash_access_for_parents_require_date_of_birth', false ) ) : ?>

Prevent Confirmation Emails from Sending #

Use this filter to prevent confirmation emails from sending to students.

Please note: If you choose to link student emails and not send the confirmation email, you will need to manually verify the link in your database.

if ( apply_filters( 'ea_student_parent_access_send_child_confirmation_email', true ) ) {

If this is set to false the plugin will not send any confirmation emails.

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Your cart is empty.
Shopping Cart
  • Your cart is empty.
Scroll to Top