ASTRA_Ext_LearnDash_Markup::astra_learndash_profile_link_callback( array $attrs )
LearnDash Profile Link Shortcode.
Description
Parameters
- $attrs
-
(array) (Required) Shortcode Attrs.
Return
(mixed)
Source
File: addons/learndash/classes/class-astra-ext-learndash-markup.php
public function astra_learndash_profile_link_callback( $attrs ) {
ob_start();
$attrs = shortcode_atts(
array(
'link' => astra_get_option( 'learndash-profile-link' ),
),
$attrs
);
$profile_link = esc_attr( $attrs['link'] );
self::astra_header_learndash( $profile_link );
return ob_get_clean();
}
Expand full source code Collapse full source code View on Trac