apply_filters( 'learndash_shortcode_atts', array $atts, string $shortcode_slug )
Filters shortcode attributes.
Description #
Parameters #
- $atts
-
(array) An array of shortcode attributes.
- $shortcode_slug
-
(string) The current shortcode slug.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_shortcode_atts filter. */ add_filter( 'learndash_shortcode_atts', function( $atts, $shortcode_context ) { // May add any custom logic using $atts, $shortcode_context. // Always return $atts. return $atts; }, 10, 2 );
Related #
@package #
Used By #
Used By | Description |
---|---|
includes/shortcodes/ld_reset_password.php: learndash_reset_password () |
Builds the |
includes/shortcodes/ld_infobar.php: learndash_infobar_shortcode () |
Builds the |
includes/shortcodes/ld_materials.php: learndash_materials_shortcode_function () |
Builds the |
includes/shortcodes/ld_navigation.php: learndash_navigation_shortcode () |
Builds the |
includes/shortcodes/ld_quiz.php: learndash_quiz_shortcode_function () |
Builds the |
includes/shortcodes/ld_registration.php: learndash_registration () |
Builds the |
includes/shortcodes/ld_usermeta.php: learndash_usermeta_shortcode () |
Builds the |
includes/shortcodes/ld_group_list.php: ld_group_list () |
Builds the |
includes/shortcodes/ld_groupinfo.php: learndash_groupinfo_shortcode () |
Builds the |
includes/shortcodes/learndash_user_status.php: learndash_user_status_shortcode () |
Builds the |
includes/shortcodes/ld_payment_buttons.php: learndash_payment_buttons_shortcode () |
Builds the |
includes/shortcodes/ld_course_certificate.php: ld_course_certificate_shortcode () |
Builds the |
includes/shortcodes/ld_user_groups.php: learndash_user_groups () |
Builds the |
includes/shortcodes/ld_group_user_list.php: learndash_group_user_list () |
Group user list |
includes/shortcodes/ld_certificate.php: ld_certificate_shortcode () |
Builds the |
includes/shortcodes/ld_course_resume.php: ld_course_resume_shortcode () |
Builds the |
includes/shortcodes/ld_quiz_complete.php: ld_quiz_complete_shortcode () |
Builds the |
includes/shortcodes/ld_courseinfo.php: learndash_courseinfo () |
Builds the |
includes/shortcodes/ld_quizinfo.php: learndash_quizinfo () |
Builds the |
includes/shortcodes/ld_course_content.php: learndash_course_content_shortcode () |
Builds the |
includes/shortcodes/ld_course_progress.php: learndash_course_progress () |
Builds the |
includes/shortcodes/ld_profile.php: learndash_profile () |
Builds the |
includes/shortcodes/ld_user_course_points.php: learndash_user_course_points_shortcode () |
Builds the |
includes/shortcodes/ld_course_expire_status.php: learndash_course_expire_status_shortcode () |
Builds the |
includes/shortcodes/ld_course_info.php: learndash_course_info_shortcode () |
Builds the |
includes/shortcodes/ld_course_inprogress.php: learndash_course_inprogress_shortcode () |
Builds the |
includes/shortcodes/ld_course_notstarted.php: learndash_course_notstarted_shortcode () |
Builds the |
includes/shortcodes/ld_course_complete.php: learndash_course_complete_shortcode () |
Builds the |
includes/shortcodes/ld_group.php: learndash_ld_group_check_shortcode () |
Builds the |
includes/shortcodes/ld_lesson_list.php: ld_lesson_list () |
Builds the |
includes/shortcodes/ld_quiz_list.php: ld_quiz_list () |
Builds the |
includes/shortcodes/ld_student.php: learndash_student_check_shortcode () |
Builds the |
includes/shortcodes/ld_topic_list.php: ld_topic_list () |
Builds the |
includes/shortcodes/ld_visitor.php: learndash_visitor_check_shortcode () |
Builds the |
includes/shortcodes/ld_course_list.php: ld_course_list () |
Builds the |