apply_filters( 'learndash_login_modal' )
Description #
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_login_modal filter. */ add_filter( 'learndash_login_modal', function( $show_login_modal, $course_id, $user_id ) { // May add any custom logic using $show_login_modal, $course_id, $user_id. // Always return $show_login_modal. return $show_login_modal; }, 10, 3 );